CVE-2026-2102: XSS in wrensec-commons CREST framework HTTP binding via _mimeType parameter

Published Nov 2, 2026
·
Updated

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.

Affected Software

1 affected component
Wren Security wrensec-commons<22.6.2, >=22.6.2<23.0.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade wrensec-commons to a version that resolves this vulnerability.

    Fixed in 22.6.2
  2. Upgrade

    Upgrade wrensec-commons to a version that resolves this vulnerability.

    Fixed in 23.0.0

Event History

Nov 2, 2026
CVE Published
via OSV·03:26 PM
Data Sourced
via OSV·03:26 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Any deployed CREST endpoint using the affected wrensec-commons HTTP binding is potentially exposed, because the attacker can target a CREST endpoint with a crafted URL.

2

What does an attacker need to exploit it?

The attacker needs to convince a victim to visit a crafted GET URL that supplies _mimeType=text/html. No attacker privileges are required, but user interaction is required.

3

What is the impact on a victim's browser?

The crafted parameter can make the browser interpret a CREST JSON response as HTML, allowing arbitrary JavaScript to execute in the victim's browser. The stated impact includes low confidentiality and integrity impact, with no availability impact.

4

Which versions contain the fix?

The issue is fixed in versions 22.6.2 and 23.0.0.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203