{"id":"CVE-2026-2102","published":"2026-11-02T16:17:40.697","lastModified":"2026-11-02T17:17:43.960","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.","cvssScore":6.1,"cvssSeverity":"MEDIUM","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","cwes":["CWE-79"],"vendors":[],"products":[],"references":[{"url":"https://github.com/WrenSecurity/wrensec-commons/commit/5b50c64c14943b6f4d7faf996345e603956bae1d","tags":[]},{"url":"https://github.com/WrenSecurity/wrensec-commons/commit/65bbfd8c63c42e84ff7699aa5b82a22c08a12624","tags":[]},{"url":"https://github.com/WrenSecurity/wrensec-commons/security/advisories/GHSA-4vhv-49g2-496q","tags":[]}],"exploitRefs":[{"url":"https://github.com/WrenSecurity/wrensec-commons/commit/5b50c64c14943b6f4d7faf996345e603956bae1d","tags":[]},{"url":"https://github.com/WrenSecurity/wrensec-commons/commit/65bbfd8c63c42e84ff7699aa5b82a22c08a12624","tags":[]},{"url":"https://github.com/WrenSecurity/wrensec-commons/security/advisories/GHSA-4vhv-49g2-496q","tags":[]}],"hasPoc":true,"ai":null}