Improper Neutralization Affecting org.springframework:spring-messaging package, versions [,7.0.11)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGSPRINGFRAMEWORK-22729294
  • published22 Nov 2026
  • disclosed19 Nov 2026
  • creditDaehyun Kang

Introduced: 19 Nov 2026

NewCVE-2026-59392  (opens in a new tab)
CWE-155  (opens in a new tab)

How to fix?

Upgrade org.springframework:spring-messaging to version 7.0.11 or higher.

Overview

org.springframework:spring-messaging is a framework and inversion of control container for the Java platform.

Affected versions of this package are vulnerable to Improper Neutralization in the DefaultUserDestinationResolver class, which builds a user's per-session STOMP target destination from the raw SockJS session id without neutralizing AntPath matching symbols. An authenticated user can receive STOMP messages intended for another user by establishing a SockJS session whose id contains matching symbols such as *, ?, {, or }, broadening the resolved destination so it also matches the victim's messages. This applies to applications using STOMP over the SockJS transport that send user-targeted messages, for example via SimpMessagingTemplate.convertAndSendToUser.

CVSS Base Scores

version 4.0
version 3.1