Description
Spring 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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:NAffected software
Source: the vendor's advisory (CNA). NVD analysis pending.
No affected versions have been published.
Timeline
- Published
- Dec 2, 2026
- Last modified
- Dec 2, 2026
- NVD status
- Awaiting Analysis