Maven: org.springframework:spring-web
CVE-2026-59314
Safety vulnerability ID: SFTY-20260827-66954
Affected versions of the `org.springframework:spring-web` package are vulnerable to HTTP Response Splitting due to improper sanitization of the `Content-Disposition` header value. The `Content-Disposition` header is constructed from untrusted input, allowing carriage return and line feed characters to prematurely terminate the header. An attacker who controls the file name used in this header can inject arbitrary headers and a response body, potentially leading to malicious content being delivered to clients.
Overview
org.springframework:spring-web – HTTP Request/Response Splitting
Advisory
org.springframework:spring-web – HTTP Request/Response Splitting
Affected Package
Also affects
---
How to Fix
We recommend updating org.springframework:spring-web to the latest non-vulnerable version.
Mitigation and Workarounds
---
Vulnerable Functions
Functions linked to known vulnerabilities.
Verified by Safety
Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.
Learn more