CVE-2026-2102
published medium CVSS 3.1 · 6.1XSS in wrensec-commons CREST framework HTTP binding via _mimeType parameter
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Wren Security | — | org.wrensecurity.commons:json-resource-httpwrensec-commons · 0 to < 22.6.2 · 23.0.0-M1 to < 23.0.0 · Other versions: unaffected | Affected | Not stated | WrenSecurity |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.1 / 10
- Severity
- medium
- Provider
- WrenSecurity · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Wren Security | wrensec-commons | 0 to < 22.6.2 (affected · semver)23.0.0-M1 to < 23.0.0 (affected · semver)Default: unaffected | WrenSecurity · cna |
Weaknesses
1- CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
3- Fix commit (22.x backport): Remove implicit support for _mimeType parameter to prevent XSS attacks https://github.com/WrenSecurity/wrensec-commons/commit/5b50c64c14943b6f4d7faf996345e603956bae1d
- Fix commit (23.x): Remove implicit support for _mimeType parameter to prevent XSS attacks https://github.com/WrenSecurity/wrensec-commons/commit/65bbfd8c63c42e84ff7699aa5b82a22c08a12624
- GitHub Security Advisory GHSA-4vhv-49g2-496q https://github.com/WrenSecurity/wrensec-commons/security/advisories/GHSA-4vhv-49g2-496q
Provider assertions
2WrenSecurity · cna
XSS in wrensec-commons CREST framework HTTP binding via _mimeType parameter
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 92c72f15967baa5cf6b30586d5e7b36c4d3d91e8fab194d72e77d7ecf3da8558
- Ingested
- 02 Nov 2026, 16:23:43 UTC
- Source record
- Official CVE record