CVE-2026-59390
Published:November 24, 2026
Updated:November 26, 2026
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.
Affected Packages
org.springframework:spring-websocket (JAVA):
Affected version(s) >=4.3.0.RELEASE <4.3.30-spring-framework-4.3.42Fix Suggestion:
Update to version 4.3.30-spring-framework-4.3.42org.springframework:spring-websocket (JAVA):
Affected version(s) >=6.2.0 <6.2.19-spring-framework-6.2.22Fix Suggestion:
Update to version 6.2.19-spring-framework-6.2.22org.springframework:spring-websocket (JAVA):
Affected version(s) >=5.3.0 <5.3.39-spring-framework-5.3.55Fix Suggestion:
Update to version 5.3.39-spring-framework-5.3.55org.springframework:spring-web (JAVA):
Affected version(s) >=4.3.0.RELEASE <4.3.30-spring-framework-4.3.42Fix Suggestion:
Update to version 4.3.30-spring-framework-4.3.42org.springframework:spring-websocket (JAVA):
Affected version(s) >=6.1.0 <6.1.21-spring-framework-6.1.31Fix Suggestion:
Update to version 6.1.21-spring-framework-6.1.31Related ResourcesĀ (1)
Do you need more information?
Contact UsCVSS v4
Base Score:
6
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.9
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
LOW
Availability
NONE