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 Enforcement of Message Integrity During Transmission in a Communication Channel in the StompEncoder class, which forwards a client-supplied content-length header to an external broker for commands that do not require it instead of always deriving it from the payload. An authenticated user can smuggle a second STOMP frame past Spring Security message authorization by sending a frame whose content-length causes the external broker to re-delimit the body and parse an additional command. This applies to applications using the STOMP broker relay with an external broker and relying on Spring Security message authorization to restrict destinations.