MODERATE 6.1

CVE-2026-2102

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

Preliminary: affected artifacts were declared by the CNA in the CVE record and have not been reviewed yet. They will be replaced by the reviewed advisory when it is published.

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.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.wrensecurity.commons » json-resource-httppreliminary
< 22.6.2>= 23.0.0-M1, < 23.0.0
22.6.2, 23.0.0

Blast radius

1affected artifacts
9affected versions
119dependent artifacts (est.)
1,908dependent versions

55% of the dependent artifacts (66) still pull an affected version in their latest release.

DepthDependent versions
Direct
283
2 hops
1,002
3 hops
420
4 hops
203

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.