Cross-site scripting in Spring Framework - CVE-2026-41846
Published: August 28, 2026
Vulnerability details
The vulnerability allows a remote attacker to inject arbitrary html or javascript code.
The vulnerability exists due to cross-site scripting in JSP <form:*> tags when processing user-supplied values in the cssClass, cssErrorClass, or cssStyle attributes. A remote attacker can supply crafted attribute values to inject arbitrary html or javascript code.
User interaction is required to trigger the injected content.