XSS in wrensec-commons CREST framework HTTP binding via _mimeType parameter
Summary
| CVE | CVE-2026-2102 |
|---|---|
| State | PUBLISHED |
| Assigner | WrenSecurity |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-02 16:17:40 UTC |
| Updated | 2026-11-02 17:17:43 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 6.1 MEDIUM from b6ef82d7-f637-461b-aedd-74f5857d5f5b
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Problem Types: CWE-79 | CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | b6ef82d7-f637-461b-aedd-74f5857d5f5b | Secondary | 6.1 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| 3.1 | CNA | CVSS | 6.1 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
RequiredScope
ChangedConfidentiality
LowIntegrity
LowAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Wren Security | Wrensec-commons | affected 22.6.2 semver | Not specified |
| CNA | Wren Security | Wrensec-commons | affected 23.0.0-M1 23.0.0 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/WrenSecurity/wrensec-commons/security/advisories/GHSA-4vhv-49... | b6ef82d7-f637-461b-aedd-74f5857d5f5b | github.com | |
| github.com/WrenSecurity/wrensec-commons/commit/65bbfd8c63c42e84ff7699aa5... | b6ef82d7-f637-461b-aedd-74f5857d5f5b | github.com | |
| github.com/WrenSecurity/wrensec-commons/commit/5b50c64c14943b6f4d7faf996... | b6ef82d7-f637-461b-aedd-74f5857d5f5b | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Additional Advisory Data
Workarounds
CNA: Disallow the _mimeType request parameter in both query string and x-www-form-urlencoded request bodies.
There are currently no legacy QID mappings associated with this CVE.