Description
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.
Severity (CVSS)
| Base score | 5.9 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N |
| Provided by | CNA |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Spring | Spring Framework | 7.0.0 to <7.0.10.1 [affected]; 6.2.0 to <6.2.21 [affected]; 6.1.0 to <6.1.30 [affected]; 6.0.0 to <6.0.33 [affected]; 5.3.0 to <5.3.51 [affected]; 0 to <5.2.27.RELEASE [affected]; 7.0.0 to <7.0.11 [affected] |
References
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 02 Dec 2026 08:02 UTC.