XSS in wrensec-commons CREST framework HTTP binding via _mimeType parameter

Summary

CVECVE-2026-2102
StatePUBLISHED
AssignerWrenSecurity
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-02 16:17:40 UTC
Updated2026-11-02 17:17:43 UTC
Descriptionwrensec-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')


VersionSourceTypeScoreSeverityVector
3.1b6ef82d7-f637-461b-aedd-74f5857d5f5bSecondary6.1MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
3.1CNACVSS6.1MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
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

ReferenceSourceLinkTags
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

Additional Advisory Data

Workarounds

CNA: Disallow the _mimeType request parameter in both query string and x-www-form-urlencoded request bodies.

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report