CVE-2025-41254: Spring Framework STOMP CSRF Vulnerability
STOMP over WebSocket applications may be vulnerable to a security bypass that allows an attacker to send unauthorized messages. ### Affected Spring Products and Versions Spring Framework: * 6.2.0 - 6.2.11 * 6.1.0 - 6.1.23 * 6.0.x - 6.0.29 * 5.3.0 - 5.3.45 * Older, unsupported versions are also affected. ### Mitigation Users of affected versions should upgrade to the corresponding fixed version. ### Affected version(s) Fix version | Availability -|- 6.2.x | 6.2.12 OSS 6.1.x | 6.1.24 Commercial https://enterprise.spring.io/ 6.0.x | N/A Out of support https://spring.io/projects/spring-framework#support 5.3.x | 5.3.46 Commercial https://enterprise.spring.io/ No further mitigation steps are necessary. CreditThis vulnerability was discovered and responsibly reported by Jannis Kaiser.
Affected Software
Remediation
Information
Event History
Frequently Asked Questions
What is the severity of CVE-2025-41254?
CVE-2025-41254 has a moderate severity level due to a security bypass that allows unauthorized message sending.
How do I fix CVE-2025-41254?
To fix CVE-2025-41254, upgrade to the latest supported version of the Spring Framework recommended by Pivotal.
Which versions of Spring Framework are affected by CVE-2025-41254?
CVE-2025-41254 affects Spring Framework versions from 5.3.0 to 5.3.45, 6.0.0 to 6.0.29, 6.1.0 to 6.1.23, and 6.2.0 to 6.2.11.
What kind of attack does CVE-2025-41254 allow?
CVE-2025-41254 allows an attacker to bypass security measures to send unauthorized messages through STOMP over WebSocket applications.
Is there a workaround for CVE-2025-41254 before upgrading?
There are no specific workarounds for CVE-2025-41254; upgrading to a non-affected version is recommended.