2084AI Security Observatory

CVE

CVE-2026-41846

CVE-2026-41846MED 6.1EPSS 4%

CNA description

Spring MVC applications which accept user-supplied values in the cssClass, cssErrorClass, or cssStyle attributes of JSP form tags allow arbitrary HTML/JavaScript code injection, 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.