CVE-2026-41846: Spring Framework Cross-site Scripting via JSP Form Tags
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 Software
Event History
Frequently Asked Questions
What is the risk level of CVE-2026-41846?
The risk level of CVE-2026-41846 is rated medium with a severity score of 5.9.
What are the impacted versions for CVE-2026-41846?
CVE-2026-41846 affects VMware Spring Framework versions 7.0.0 through 7.0.
What type of vulnerability is CVE-2026-41846?
CVE-2026-41846 is a cross-site scripting (XSS) vulnerability that allows for arbitrary HTML/JavaScript code injection.
How can I mitigate CVE-2026-41846 in my application?
To mitigate CVE-2026-41846, avoid using user-supplied values in the cssClass, cssErrorClass, or cssStyle attributes of JSP form tags.
What are the potential consequences of CVE-2026-41846?
The consequences of CVE-2026-41846 include the possibility of successful cross-site scripting attacks, leading to data exposure and user impersonation.