CVE-2026-59281
MEDIUM 6.1CVSS 3.1Spring Framework Cross-site Scripting via EscapedErrors
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
- Published
- 27 Aug 2026
- Last modified
- 3 Dec 2026
- Assigned by
- security@vmware.com
- NVD status
- Analyzed
- Weakness
- CWE-79
- Also known as
- GHSA-549f-4rpc-3rw9
- Sources
- NVDJSONOSV GHSA-549f-4rpc-3rw9JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | vmware | spring_frameworkcpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:* |
< 5.2.26 | 5.2.26 |
| NVD | vmware | spring_frameworkcpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:* |
>= 5.3.0, < 5.3.50 | 5.3.50 |
| NVD | vmware | spring_frameworkcpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:* |
>= 6.0.0, < 6.0.31 | 6.0.31 |
| NVD | vmware | spring_frameworkcpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:* |
>= 6.1.0, < 6.1.29 | 6.1.29 |
| NVD | vmware | spring_frameworkcpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:* |
>= 6.2.0, < 6.2.20 | 6.2.20 |
| NVD | vmware | spring_frameworkcpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:* |
>= 7.0.0, < 7.0.8.1 | 7.0.8.1 |
| OSV | Maven | org.springframework:spring-web | >= 7.0.0-M1, < 7.0.9 | 7.0.9 |
| OSV | Maven | org.springframework:spring-web | >= 6.2.0, <= 6.2.19 | |
| OSV | Maven | org.springframework:spring-web | >= 6.1.0, <= 6.1.21 | |
| OSV | Maven | org.springframework:spring-web | >= 6.0.0, <= 6.0.23 | |
| OSV | Maven | org.springframework:spring-web | >= 5.3.0, <= 5.3.39 | |
| OSV | Maven | org.springframework:spring-web | <= 5.2.25.RELEASE |
References
- https://spring.io/security/cve-2026-59281 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-59281 · ADVISORY
- https://github.com/spring-projects/spring-framework/issues/37055 · WEB
- https://github.com/spring-projects/spring-framework/commit/8cb1151375d2e22e14f3406e05f99fc333a618f7 · WEB
- https://github.com/spring-projects/spring-framework/commit/ac0f8be0d821d0a51f02b4ef504755ff35ccd464 · WEB
- https://github.com/spring-projects/spring-framework · PACKAGE
- https://github.com/spring-projects/spring-framework/releases/tag/v7.0.9 · WEB
History
- 3 Dec 2026 23:56 UTC · OSV: first stored (published 27 Aug 2026)
- 25 Nov 2026 21:05 UTC · NVD: first stored (published 27 Aug 2026)