Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
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.42
Fix Suggestion:
Update to version 4.3.30-spring-framework-4.3.42
org.springframework:spring-websocket (JAVA):
Affected version(s) >=6.2.0 <6.2.19-spring-framework-6.2.22
Fix Suggestion:
Update to version 6.2.19-spring-framework-6.2.22
org.springframework:spring-websocket (JAVA):
Affected version(s) >=5.3.0 <5.3.39-spring-framework-5.3.55
Fix Suggestion:
Update to version 5.3.39-spring-framework-5.3.55
org.springframework:spring-web (JAVA):
Affected version(s) >=4.3.0.RELEASE <4.3.30-spring-framework-4.3.42
Fix Suggestion:
Update to version 4.3.30-spring-framework-4.3.42
org.springframework:spring-websocket (JAVA):
Affected version(s) >=6.1.0 <6.1.21-spring-framework-6.1.31
Fix Suggestion:
Update to version 6.1.21-spring-framework-6.1.31
Do you need more information?
Contact Us
CVSS 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