Spring MVC and WebFlux applications that obtain a data-binding Errors instance with HTML escaping enabled and then render field errors using the no-argument Errors.getFieldErrors() or Errors.getFieldError() accessors are vulnerable to arbitrary HTML/JavaScript code injection, potentially resulting in a reflected cross-site scripting (XSS) vulnerability.
Spring Framework 7.0.0 - 7.0.8
Spring Framework 6.2.0 - 6.2.19
Spring Framework 6.1.0 - 6.1.28
Spring Framework 6.0.0 - 6.0.30
Spring Framework 5.3.0 - 5.3.49
Spring Framework 5.2.25.RELEASE and earlier
References
| Link | Resource |
|---|---|
| https://spring.io/security/cve-2026-59281 | Vendor Advisory |
Configurations
Configuration 1 (hide)
|
History
No history.
Information
Published : 2026-08-27 20:17
Updated : 2026-09-02 16:58
NVD link : CVE-2026-59281
Mitre link : CVE-2026-59281
CVE.ORG link : CVE-2026-59281
JSON object : View
Products Affected
vmware
- spring_framework
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
