CVE-2026-59281: Spring MVC and WebFlux applications that obtain a data-binding Errors instance with HTML escaping enabled and
CVE-2026-59281 is a medium-severity flaw (CVSS 6.1) affecting spring framework. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.1 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.3% (top 83%) |
| CISA exploited list | No |
| Weakness | CWE-79 |
| Published | 2026-08-27 |
| Last modified | 2026-09-02 |
Last updated 2026-09-02 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Advisories and coverage
Official advisories
- Spring Security Advisories: cve-2026-59281 - MEDIUM - Spring Framework Cross-site Scripting via EscapedErrors 2026-08-20
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-59281?
spring framework: upgrade to 5.2.26, 5.3.50, 6.0.31, 6.1.29, 6.2.20, 7.0.8.1. Exact commands for each OS are on this page.
Is CVE-2026-59281 being exploited?
CVE-2026-59281 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-59281 affect?
CVE-2026-59281 affects spring framework. Severity is medium (CVSS 6.1). 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 arbit
How urgent is CVE-2026-59281?
Priority 26/100. No elevated risk signals yet.
Software pages
Spring Framework vulnerabilities · VMware vulnerabilities
Related CVEs
- CVE-2026-22740 MEDIUM 6.5 UPGRADE A WebFlux server application that processes multipart requests creates temp files for parts larger than 10 K
- CVE-2026-22745 MEDIUM 5.3 UPGRADE Spring MVC and WebFlux applications are vulnerable to Denial of Service attacks when resolving static resource
- CVE-2026-22741 LOW 3.1 UPGRADE Spring MVC and WebFlux applications are vulnerable to cache poisoning when resolving static resources. More
- CVE-2026-47883 MEDIUM 6.1 UPGRADE UrlHandlerFilter can be vulnerable to an open redirect when configured with very broadly matching patterns
- CVE-2026-47889 HIGH 7.5 UPGRADE A WebFlux application running on the Jetty 12 Core reactive adapter serializes response cookies without the sa