CVE-2026-59392
Spring Framework STOMP Message Disclosure with SockJS Transport
Description
Spring Framework's STOMP over SockJS support can expose messages intended for one user to another user.
An application is affected if it uses STOMP messaging with the SockJS transport and sends messages to specific users, for example, with SimpMessagingTemplate.convertAndSendToUser . In that case, an authenticated user can craft a SockJS session in a way that causes them to receive messages intended for another user's active session.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.springframework » spring-messaging | <= 5.2.26.RELEASE>= 5.3.0, <= 5.3.50>= 6.0.0, <= 6.0.32>= 6.1.0, <= 6.1.29>= 6.2.0, <= 6.2.20>= 7.0.0, < 7.0.11 | 7.0.11 |
Blast radius
77% of the dependent artifacts (9,645) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 127,522 |
| 2 hops | 81,269 |
| 3 hops | 160,427 |
| 4 hops | 147,338 |
| 5 hops | 56,574 |
| 6 hops | 21,361 |
Most used dependents
- org.springframework.boot » spring-boot-starter-data-redis3,185 usages
- org.springframework.boot » spring-boot-starter-websocket1,325 usages
- org.springframework » spring-jms1,311 usages
- org.springframework.kafka » spring-kafka1,075 usages
- org.springframework.integration » spring-integration-core894 usages
- org.springframework.boot » spring-boot-starter-amqp694 usages
- org.redisson » redisson-spring-boot-starter577 usages
- org.apache.camel.springboot » camel-core-starter564 usages
- org.springframework.integration » spring-integration-jmx546 usages
- org.springframework.cloud » spring-cloud-starter-sleuth528 usages
- org.apereo.cas » cas-server-core-util-api492 usages
- org.apache.camel.springboot » camel-spring-boot-starter487 usages
- org.apereo.cas » cas-server-core-configuration-api442 usages
- org.springframework.cloud » spring-cloud-stream436 usages
- org.springframework.boot » spring-boot-integration430 usages
Computed from the dependency graph of build 20261206.1433 (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.
