Get ahead
VMware offers training and certification to turbo-charge your progress.
Learn moreSpring Framework's WebSocket support does not validate the Origin header by
default if WebSocketHttpRequestHandler is configured directly by the application, rather
than through the WebSocket config via WebSocketHandlerRegistry.
An application is affected if it configures WebSocket handling this way without adding
an origin check. In that case, a page served from a different origin can open a WebSocket
connection resulting in cross-site WebSocket hijacking. Applications that use
the WebSocket config via WebSocketHandlerRegistry are not affected.
Spring Framework:
| Fix version | Availability |
|---|---|
| 7.0.11 | OSS |
| 7.0.10.1 | Enterprise Support Only |
| 6.2.21 | Enterprise Support Only |
| 6.1.30 | Enterprise Support Only |
| 6.0.33 | Enterprise Support Only |
| 5.3.51 | Enterprise Support Only |
| 5.2.27.RELEASE | Enterprise Support Only |
No further mitigation steps are necessary.
This issue was discovered by Xint, reported via Project Canopy.
To report a security vulnerability for a project within the Spring portfolio, see the Security Policy