CVE-2025-41254
Spring Framework STOMP over WebSocket applications may allow attackers to send unauthorized messages
Description
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 Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.springframework » spring-websocket | <= 5.3.39>= 6.0.0, <= 6.0.23>= 6.1.0, <= 6.1.21>= 6.2.0, < 6.2.12 | 6.2.12 |
Blast radius
54% of the dependent artifacts (1,574) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 28,638 |
| 2 hops | 38,900 |
| 3 hops | 14,153 |
| 4 hops | 9,109 |
| 5 hops | 2,748 |
| 6 hops | 846 |
Most used dependents
- org.springframework.boot » spring-boot-starter-websocket1,319 usages
- com.vaadin » vaadin-core640 usages
- com.vaadin » vaadin-maven-plugin600 usages
- org.apereo.cas » cas-server-core-util-api492 usages
- org.apereo.cas » cas-server-core-configuration-api442 usages
- org.apereo.cas » cas-server-core-authentication-api400 usages
- com.vaadin » vaadin378 usages
- org.apereo.cas » cas-server-core-api-test-category335 usages
- org.apereo.cas » cas-server-core-util296 usages
- org.apereo.cas » cas-server-core-web-api288 usages
- org.apereo.cas » cas-server-core-services280 usages
- org.apereo.cas » cas-server-core-configuration264 usages
- org.apereo.cas » cas-server-core-services-api243 usages
- org.apereo.cas » cas-server-core-authentication232 usages
- org.apereo.cas » cas-server-core-web212 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
