{"affected":[{"defaultStatus":"unaffected","ecosystem":"https://repo1.maven.org/maven2","packageName":"org.wrensecurity.commons:json-resource-http","product":"wrensec-commons","source":"CNA: WrenSecurity","vendor":"Wren Security","versions":[{"lessThan":"22.6.2","status":"affected","version":"0","versionType":"semver"},{"lessThan":"23.0.0","status":"affected","version":"23.0.0-M1","versionType":"semver"}]}],"cveId":"CVE-2026-2102","cwes":["CWE-79"],"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.","epss":null,"exploits":[],"kev":null,"metrics":[{"score":6.1,"severity":"medium","source":"CNA: WrenSecurity","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},{"score":6.1,"severity":"medium","source":"NVD: b6ef82d7-f637-461b-aedd-74f5857d5f5b","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"}],"modifiedAt":1793639863960,"publishedAt":1793633214677,"references":[{"source":"CNA: WrenSecurity","tags":["third-party-advisory"],"url":"https://github.com/WrenSecurity/wrensec-commons/security/advisories/GHSA-4vhv-49g2-496q"},{"source":"CNA: WrenSecurity","tags":["patch"],"url":"https://github.com/WrenSecurity/wrensec-commons/commit/65bbfd8c63c42e84ff7699aa5b82a22c08a12624"},{"source":"CNA: WrenSecurity","tags":["patch"],"url":"https://github.com/WrenSecurity/wrensec-commons/commit/5b50c64c14943b6f4d7faf996345e603956bae1d"},{"source":"b6ef82d7-f637-461b-aedd-74f5857d5f5b","tags":[],"url":"https://github.com/WrenSecurity/wrensec-commons/commit/5b50c64c14943b6f4d7faf996345e603956bae1d"},{"source":"b6ef82d7-f637-461b-aedd-74f5857d5f5b","tags":[],"url":"https://github.com/WrenSecurity/wrensec-commons/commit/65bbfd8c63c42e84ff7699aa5b82a22c08a12624"},{"source":"b6ef82d7-f637-461b-aedd-74f5857d5f5b","tags":[],"url":"https://github.com/WrenSecurity/wrensec-commons/security/advisories/GHSA-4vhv-49g2-496q"}],"remediation":[{"kind":"workaround","source":"CNA: WrenSecurity","text":"Disallow the _mimeType request parameter in both query string and x-www-form-urlencoded request bodies."},{"kind":"fix","source":"CNA: WrenSecurity","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/WrenSecurity/wrensec-commons/commit/65bbfd8c63c42e84ff7699aa5b82a22c08a12624"},{"kind":"fix","source":"CNA: WrenSecurity","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/WrenSecurity/wrensec-commons/commit/5b50c64c14943b6f4d7faf996345e603956bae1d"}],"revision":"fe153fb5f73a99e1dc160a33be1d81ac561829cb32653385497d00f50e47507f","sources":[{"modifiedAt":1793636081537,"name":"CNA: WrenSecurity","retrievedAt":1793639367551,"url":"https://www.cve.org/CVERecord?id=CVE-2026-2102"},{"modifiedAt":1793639863960,"name":"NVD","retrievedAt":1793643559047,"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-2102"}],"ssvc":{"assessedAt":1793636066559,"automatable":"no","exploitation":"none","source":"ADP: CISA-ADP","technicalImpact":"partial"},"status":"published","title":"XSS in wrensec-commons CREST framework HTTP binding via _mimeType parameter","updatedAt":1793643559047}