CVE-2026-2102

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

Published Nov 2, 2026 CVSS 3.1 · 6.1 Medium EPSS < 1% KEV · Not listed
Description
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.

Remediation

Vendor Workaround

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Wren Security
Wren Security wrensec-commons
Vendors & Products Wren Security
Wren Security wrensec-commons
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title XSS in wrensec-commons CREST framework HTTP binding via _mimeType parameter
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
WrenSecurity
Published
Updated
Nov 2, 2026, 4:14 PM
Reserved
Feb 6, 2026, 1:04 PM
Status
Deferred
Published
Nov 2, 2026, 4:17 PM
Modified
Nov 2, 2026, 5:17 PM