CVE-2025-41254: Spring Framework STOMP CSRF Vulnerability

Published Oct 16, 2025
·
Updated

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

5 affected componentsFixes available
Pivotal Spring Framework>=6.2.0<=6.2.11, >=6.1.0<=6.1.23, >=6.0.0<=6.0.29, >=5.3.0<=5.3.45
maven/org.springframework:spring-websocket<=5.3.39
maven/org.springframework:spring-websocket>=6.0.0<=6.0.23
maven/org.springframework:spring-websocket>=6.1.0<=6.1.21
maven/org.springframework:spring-websocket>=6.2.0<6.2.12
6.2.12

Remediation

Information

Users of affected versions should upgrade to fixed releases: 6.2.12 (OSS), 6.1.24 (Commercial), and 5.3.46 (Commercial). No further mitigation steps are necessary.

Event History

Oct 16, 2025
CVE Published
via MITRE·02:48 PM
Data Sourced
via MITRE·02:48 PM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·03:15 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·03:30 PM
Data Sourced
via GitHub·03:30 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203