Origin Validation Error Affecting org.springframework:spring-websocket package, versions [,7.0.11)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGSPRINGFRAMEWORK-22729334
  • published22 Nov 2026
  • disclosed19 Nov 2026
  • creditProject Canopy

Introduced: 19 Nov 2026

NewCVE-2026-59390  (opens in a new tab)
CWE-346  (opens in a new tab)

How to fix?

Upgrade org.springframework:spring-websocket to version 7.0.11 or higher.

Overview

org.springframework:spring-websocket is a framework that provides a comprehensive programming and configuration model for modern Java-based enterprise applications - on any kind of deployment platform.

Affected versions of this package are vulnerable to Origin Validation Error in the WebSocketHttpRequestHandler class, which does not validate the Origin header during the handshake when an application configures WebSocket handling directly rather than through WebSocketHandlerRegistry. An attacker can open a WebSocket connection to the application from a page on a different origin in a victim's authenticated browser, because the handler accepts the cross-origin handshake without an origin check. This affects applications that wire up WebSocketHttpRequestHandler directly without adding an OriginHandshakeInterceptor; applications using WebSocketHandlerRegistry are not affected.

CVSS Base Scores

version 4.0
version 3.1