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
82% of the dependent artifacts (10,103) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 127,429 |
| 2 hops | 80,756 |
| 3 hops | 159,258 |
| 4 hops | 146,642 |
| 5 hops | 56,372 |
| 6 hops | 21,276 |
Most used dependents
- org.springframework.boot » spring-boot-starter-data-redis3,160 usages
- org.springframework.boot » spring-boot-starter-websocket1,319 usages
- org.springframework » spring-jms1,305 usages
- org.springframework.kafka » spring-kafka1,064 usages
- org.springframework.integration » spring-integration-core893 usages
- org.springframework.boot » spring-boot-starter-amqp691 usages
- org.redisson » redisson-spring-boot-starter574 usages
- org.apache.camel.springboot » camel-core-starter558 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-starter478 usages
- org.apereo.cas » cas-server-core-configuration-api442 usages
- org.springframework.boot » spring-boot-integration430 usages
- org.springframework.boot » spring-boot-websocket428 usages
Computed from the dependency graph of build 20261125.0317 (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.
