CVE Catalog

CVE-2026-59390

MediumCVSS 5.9
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.38%

34th percentile - higher than 34% of all known CVEs

Summary

Spring Framework's WebSocket support does not validate the Origin header by default when WebSocketHttpRequestHandler is configured directly rather than through WebSocketHandlerRegistry. A page from a different origin can open a WebSocket connection, resulting in cross-site WebSocket hijacking.

Risk Assessment

An attacker can hijack a user's WebSocket session and perform actions on their behalf via a malicious page.

Recommendation

Upgrade Spring Framework to a patched version or configure WebSocket handling through WebSocketHandlerRegistry with Origin validation.

Other vulnerabilities in Spring Framework

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS