2084AI Security Observatory

CVE

CVE-2026-41845

CVE-2026-41845MED 6.1EPSS 5%

CNA description

Due to incorrect escaping, the use of JavaScriptUtils.javaScriptEscape() may lead to JavaScript code injection in the browser, potentially resulting in a cross-site scripting (XSS) vulnerability. Affected versions: Spring Framework 7.0.0 through 7.0.7; 6.2.0 through 6.2.18; 6.1.0 through 6.1.27; 5.3.0 through 5.3.48.

Affected versions

All Spring Framework vulnerabilities →

  • spring-webmvc≥ 7.0.0, < 7.0.8Fixed in 7.0.8
  • spring-webmvc≥ 6.2.0, < 6.2.19Fixed in 6.2.19
  • spring-webmvc≥ 6.1.0, ≤ 6.1.21Affected up to 6.1.21 — see vendor advisory
  • spring-webmvc≤ 5.3.39Affected up to 5.3.39 — see vendor advisory

Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.

Advisories and patches

Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.