Missing Origin Validation in WebSockets in Spring Framework - CVE-2026-59390
Published: November 20, 2026
Vulnerability details
The vulnerability allows a remote attacker to hijack a victim's WebSocket connection across origins and potentially read sensitive data or send unauthorized messages.
The vulnerability exists due to missing Origin header validation in WebSocketHttpRequestHandler when an application configures the handler directly without an origin check. A remote attacker can induce a victim to visit a page on another origin to open a WebSocket connection in the victim's browser.