CVE-2026-59281 - Medium Severity Vulnerability
Vulnerable Library - spring-web-6.2.8.jar
Spring Web
Library home page: https://github.com/spring-projects/spring-framework
Sample Path to Dependency File: /pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-web/6.2.8/spring-web-6.2.8.jar
Dependency Hierarchy:
- spring-boot-starter-hateoas-3.5.3.jar (Root Library)
- spring-boot-starter-web-3.5.3.jar
- spring-boot-starter-json-3.5.3.jar
- ❌ spring-web-6.2.8.jar (Vulnerable Library)
Found in HEAD commit: 270465e4bf74e87253e9245ca2e1fc7ed83b0cbb
Found in base branch: master
Vulnerability Details
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
Publish Date: 2026-08-27
URL: CVE-2026-59281
CVSS 3 Score Details (6.1)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: None
- User Interaction: Required
- Scope: Changed
- Impact Metrics:
- Confidentiality Impact: Low
- Integrity Impact: Low
- Availability Impact: None
For more information on CVSS3 Scores, click here.
Suggested Fix
Type: Upgrade version
Origin: https://spring.io/security/cve-2026-59281
Release Date: 2026-08-27
Fix Resolution: org.springframework:spring-web:7.0.9,https://github.com/spring-projects/spring-framework.git - v7.0.9
Step up your Open Source Security Game with Mend here
CVE-2026-59281 - Medium Severity Vulnerability
Spring Web
Library home page: https://github.com/spring-projects/spring-framework
Sample Path to Dependency File: /pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-web/6.2.8/spring-web-6.2.8.jar
Dependency Hierarchy:
Found in HEAD commit: 270465e4bf74e87253e9245ca2e1fc7ed83b0cbb
Found in base branch: master
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
Publish Date: 2026-08-27
URL: CVE-2026-59281
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: None
- User Interaction: Required
- Scope: Changed
- Impact Metrics:
- Confidentiality Impact: Low
- Integrity Impact: Low
- Availability Impact: None
For more information on CVSS3 Scores, click here.Type: Upgrade version
Origin: https://spring.io/security/cve-2026-59281
Release Date: 2026-08-27
Fix Resolution: org.springframework:spring-web:7.0.9,https://github.com/spring-projects/spring-framework.git - v7.0.9
Step up your Open Source Security Game with Mend here