Vulnerability · Published Aug 27, 2026 · Assigned by vmware
CVE-2026-59281Spring Framework Cross-site Scripting via EscapedErrors
Medium 6.1
In plain English
A medium-severity cross-site scripting in Spring Framework from Spring. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 17% of all known vulnerabilities).
Official description
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
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libspring-java | no fix listed | DEBIAN-CVE-2026-59281 |
| Debian:13 | libspring-java | no fix listed | DEBIAN-CVE-2026-59281 |
| Debian:14 | libspring-java | no fix listed | DEBIAN-CVE-2026-59281 |
| Ubuntu:26.04:LTS | libspring-java | no fix listed | UBUNTU-CVE-2026-59281 |
| Ubuntu:26.10 | libspring-java | no fix listed | UBUNTU-CVE-2026-59281 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Spring | Spring Framework | 7.0.0 – through 7.0.86.2.0 – through 6.2.196.1.0 – through 6.1.286.0.0 – through 6.0.305.3.0 – through 5.3.490 – through 5.2.25.RELEASE |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N