CVE-2026-41846: Spring Framework Cross-site Scripting via JSP Form Tags

Published Jun 9, 2026
·
Updated

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

1 affected component
VMware Spring Framework>=7.0.0<=7.0.7, >=6.2.0<=6.2.18, >=6.1.0<=6.1.27, >=5.3.0<=5.3.48

Event History

Jun 9, 2026
CVE Published
via MITRE·03:50 AM
Data Sourced
via MITRE·03:50 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:16 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

What are the impacted versions for CVE-2026-41846?

CVE-2026-41846 affects VMware Spring Framework versions 7.0.0 through 7.0.

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203