MODERATE

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)

ArtifactAffected versionsFixed 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

1affected artifacts
321affected versions
12,293dependent artifacts (est.)
591,733dependent versions

82% of the dependent artifacts (10,103) still pull an affected version in their latest release.

DepthDependent 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

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.