Maven: org.springframework:spring-webmvc
CVE-2026-59313
Safety vulnerability ID: SFTY-20260827-77368
Affected versions of the `org.springframework:spring-webmvc` package are vulnerable to CRLF Injection because a Server-Sent Events response produced through the functional web framework is written without neutralising the line terminators that delimit events. The `Server-Sent Events` implementation fails to sanitize input values containing carriage return and line feed characters, allowing them to improperly terminate and begin new events. An attacker who controls such a value can inject events of their own construction into a stream, which the subscribing client attributes entirely to the server, potentially leading to unauthorized actions or data manipulation.
Overview
org.springframework:spring-webmvc – CRLF Injection
Advisory
org.springframework:spring-webmvc – CRLF Injection
Affected Package
Also affects
---
How to Fix
We recommend updating org.springframework:spring-webmvc 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