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.

Created at: Sep 10, 2026Updated at: Sep 10, 2026

Overview

org.springframework:spring-web – HTTP Request/Response Splitting

Advisory

org.springframework:spring-web – HTTP Request/Response Splitting

Affected Package

Affecting org.springframework:spring-web package, versions<= 5.2.25>= 5.3.0, <= 5.3.49>= 6.0.0, <= 6.0.30>= 6.1.0, <= 6.1.28>= 6.2.0, <= 6.2.19>= 7.0.0, <= 7.0.8

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.

Vulnerable function data is available for Enterprise customers

Book a call with us to see Safety in action.

Safety

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