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 applicationsUpgrade org.springframework:spring-messaging to version 7.0.11 or higher.
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.