CVE-2026-59281
published medium CVSS 3.1 · 6.1Spring Framework Cross-site Scripting via EscapedErrors
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Spring | — | Spring Framework7.0.0 through 7.0.8 · 6.2.0 through 6.2.19 · 6.1.0 through 6.1.28 · 6.0.0 through 6.0.30 · 5.3.0 through 5.3.49 · 0 through 5.2.25.RELEASE · Other versions: unaffected | Affected | Not stated | vmware |
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
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.1 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Spring | Spring Framework | 7.0.0 through 7.0.8 (affected · custom)6.2.0 through 6.2.19 (affected · custom)6.1.0 through 6.1.28 (affected · custom)6.0.0 through 6.0.30 (affected · custom)5.3.0 through 5.3.49 (affected · custom)0 through 5.2.25.RELEASE (affected · custom)Default: unaffected | vmware · cna |
Weaknesses
2- CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
1Provider assertions
2vmware · cna
Spring Framework Cross-site Scripting via EscapedErrors
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 30efb007bde3ed0e14677acab49cb2b2cc5cbc67aca5442b22148683fcf28ec6
- Ingested
- 23 Sep 2026, 09:22:29 UTC
- Source record
- Official CVE record