CVE-2026-41846 json
Spring Framework Cross-site Scripting via JSP Form Tags
published 2026-06-09 5 mo ago modified 2026-09-10 1 mo ago also GHSA-957g-f97v-vppc , EUVD-2026-35334
- cvss
- 5.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 4%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.springframework:spring-webmvc 6.2.19, 7.0.8
- Spring Spring Framework 5.3.49, 6.1.28, 6.2.18.1, 7.0.7.1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-41846 updated cvss 6.8
Spring Framework: Spring Framework: Cross-site scripting (XSS) via user-supplied values in JSP form tags
-
Red Hat OpenShift Developer Tools and Services spring-webmvc 6.2.14 Red Hat OpenShift Dev Spaces spring-webmvc 6.2.14affected: workaround, no fix available “Fix deferred”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 5 mo ago
Exploit prediction
0.15% chance of exploitation in the next 30 days, higher than 4% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.springframework:spring-webmvc | >=7.0.0, <7.0.8 >=6.2.0, <6.2.19 >=6.1.0, <=6.1.21 <=5.3.39 |
7.0.8 6.2.19 |
Affected products
- Spring Spring Framework
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
- Technology feeds
References
-
github.com
/spring-projects/spring-framework/commit/1829b42b9c45e780c268dd17863d9198d62154d3
web
-
github.com
/spring-projects/spring-framework/commit/e8f10244e3859e8bb5b6be3823c9bbea2c130573
web
-
spring.io
/security/cve-2026-41846
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-41846
advisory
-
github.com
/spring-projects/spring-framework
package
-
github.com
/spring-projects/spring-framework/releases/tag/v6.2.19
web
-
github.com
/spring-projects/spring-framework/releases/tag/v7.0.8
web
Sources
- CVE List CVE-2026-41846
- GitHub Advisory GHSA-957g-f97v-vppc
- NVD CVE-2026-41846
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.