CVE-2026-41846
Last modified
CVE-2026-41846 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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.. EPSS estimates a 0.14% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Vmware | Spring Framework | >= 5.3.0, < 5.3.49 |
| Vmware | Spring Framework | >= 6.1.0, < 6.1.28 |
| Vmware | Spring Framework | >= 6.2.0, < 6.2.19 |
| Vmware | Spring Framework | >= 7.0.0, < 7.0.8 |
References
- https://spring.io/security/cve-2026-41846Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-41846?
How severe is CVE-2026-41846?
How do I fix CVE-2026-41846?
Are you affected by CVE-2026-41846?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
