Public vulnerability disclosure

CVE-2026-2102

XSS in wrensec-commons CREST framework HTTP binding via _mimeType parameter

publishedCWE-79

wrensec-commons contains a reflected cross-site scripting (XSS) vulnerability in the CREST framework's HTTP binding. The HttpUtils.prepareResponse() method used the _mimeType request parameter to set the Content-Type response header without proper sanitization. By sending a GET request with _mimeType=text/html, an attacker could cause the browser to interpret a CREST JSON response as HTML, enabling execution of arbitrary JavaScript in the victim's browser. The vulnerability is exploitable by tricking a user into visiting a crafted URL targeting any deployed CREST endpoint. The issue is fixed in versions 22.6.2 and 23.0.0.

Technical severity6.1 mediumCVSS 3.1 · CNA: WrenSecurity
Published2026-11-02Source updated 2026-11-02
Collected2026-11-021 attributed source

Fixes and workarounds

Workaround

Disallow the _mimeType request parameter in both query string and x-www-form-urlencoded request bodies.

Source: CNA: WrenSecurity

Fix

The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.

Source: CNA: WrenSecurity

Fix

The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.

Source: CNA: WrenSecurity

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority
wrensec-commons
Wren Security
org.wrensecurity.commons:json-resource-http
https://repo1.maven.org/maven2
≥ 0; < 22.6.2 (affected, semver)
≥ 23.0.0-M1; < 23.0.0 (affected, semver)
Other versions: unaffected
CNA: WrenSecurity

Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.

CVSS assessments

CVSS scores, vectors and reporting authorities
Version / scoreVectorAuthority
3.1 / 6.1
medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NCNA: WrenSecurity

Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

References

For agents and automation

Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.

Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.

Endpoints and access details

https://api.y2.dev/api/v2/cyber/cves
https://api.y2.dev/api/v2/cyber/cves/{cveId}

A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.

For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.

Agent access JSON · OpenAPI · CVE API guide