Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/WrenSecurity/wrensec-commons/commit/5b50c64c14943b6f4d7faf996
- https://github.com/WrenSecurity/wrensec-commons/commit/65bbfd8c63c42e84ff7699aa5
- https://github.com/WrenSecurity/wrensec-commons/security/advisories/GHSA-4vhv-49
FAQ
What is CVE-2026-2102?
CVE-2026-2102 is a vulnerability with a CVSS score of 6.1 (MEDIUM). 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 ...
How severe is CVE-2026-2102?
CVE-2026-2102 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-2102?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.