CVE-2026-59281: Org.springframework:spring web: Spring Framework Cross-site Scripting via EscapedErrors
Affects org.springframework:spring-webSource GCVE Database
Not known to be exploited · CVSS 6.1 Medium : upgrade to 7.0.9 when convenient.
Data as of 3 Dec 2026, 23:05 UTC
- Patch
- Available – fixed in 7.0.9
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 27 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Dec 2026.
What to do
Upgrade org.springframework:spring-web to 7.0.9.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Mavenorg.springframework:spring-web | Affected
| Fixed in
|
| Mavenorg.springframework:spring-web | Affected
| Fixed in– |
| Mavenorg.springframework:spring-web | Affected
| Fixed in– |
| Mavenorg.springframework:spring-web | Affected
| Fixed in– |
| Mavenorg.springframework:spring-web | Affected
| Fixed in– |
| Mavenorg.springframework:spring-web | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available for this vulnerability. Users should upgrade to Spring Framework version 7.0.9 or later for open source releases. For enterprise support versions, upgrade to the corresponding fixed releases: 6.2.20, 6.1.29, 6.0.31, 5.3.50, or 5.2.26. Applying these updates will remediate the vulnerability. No additional mitigation steps are indicated by the vendor advisory.
Description
A reflected cross-site scripting (XSS) vulnerability exists in Spring Framework's MVC and WebFlux modules when applications use a data-binding Errors instance with HTML escaping enabled and render field errors via no-argument accessors. This allows injection of arbitrary HTML or JavaScript code. The vulnerability affects multiple Spring Framework versions prior to fixed releases.
References
- nvd.nist.gov/vuln/detail/CVE-2026-59281 (opens in a new tab)
- github.com/spring-projects/spring-framework/issues/37055 (opens in a new tab)
- github.com/spring-projects/spring-framework/commit/8cb1151375d2e22e14f3406e05f99fc333a618f7 (opens in a new tab)
- github.com/spring-projects/spring-framework/commit/ac0f8be0d821d0a51f02b4ef504755ff35ccd464 (opens in a new tab)
- github.com/spring-projects/spring-framework (opens in a new tab)
- github.com/spring-projects/spring-framework/releases/tag/v7.0.9 (opens in a new tab)
- spring.io/security/cve-2026-59281 (opens in a new tab)