## cve-2026-59390 - MEDIUM - Spring Framework No Origin Validation If WebSocket Handling Configured Directly

- 種別: advisory
- 関連技術: spring, java
- CVE: CVE-2026-59390
- 公開日時: 2026-11-19T00:00:00.000Z
- 情報源: Spring Security Advisories (https://spring.io/security/cve-2026-59390)
- パーマリンク: https://vulnpulse.app/items/spring-security-e8ef021fb918

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.