Maven
CVE-2026-2102
XSS in wrensec-commons CREST framework HTTP binding via _mimeType parameter
- Severity
- Medium 6.1
- Published
- 2 Nov 2026
- Last changed
- 2 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 22.6.2, 23.0.0
- Exploit chance
- 0.3% in the next 30 daysHigher than 19% of CVEs. EPSS by FIRST, 24 Nov 2026
- Weakness
- Cross-site scripting (CWE-79)
- Attack
- Over the network · No login needed · Needs someone to click or open something
- Attacker can
- Read some data · Change some data
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N- Sources
- CVE Program
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.
Affected software
| Software | Affected versions |
|---|---|
org.wrensecurity.commons:json-resource-httpMaven · osv:Maven:org.wrensecurity.commons:json-resource-http |
|
About org.wrensecurity.commons:json-resource-http
This is the only vulnerability in org.wrensecurity.commons:json-resource-http in our list.
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-2102