- Home
- Vulnerabilities
- CVE-2026-59390
CVE-2026-59390
Spring Framework No Origin Validation If WebSocket Handling Configured Directly
Low
35/100
Summary
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 products and versions
Spring (7 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| Framework | from 7.0.0 (included) to 7.0.10.1 (excluded) |
— | CNA (vendor or assigner) |
| Framework | from 6.2.0 (included) to 6.2.21 (excluded) |
— | CNA (vendor or assigner) |
| Framework | from 6.1.0 (included) to 6.1.30 (excluded) |
— | CNA (vendor or assigner) |
| Framework | from 6.0.0 (included) to 6.0.33 (excluded) |
— | CNA (vendor or assigner) |
| Framework | from 5.3.0 (included) to 5.3.51 (excluded) |
— | CNA (vendor or assigner) |
| Framework | before 5.2.27.RELEASE (excluded) |
— | CNA (vendor or assigner) |
| Framework | from 7.0.0 (included) to 7.0.11 (excluded) |
— | CNA (vendor or assigner) |
Fix
Not provided by the vendor.
Workaround
No workaround provided.
Check whether you are affected
No verification method provided.
Timeline
- — CVE published (cve)
References
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- CNA (vendor or assigner)
- CVSS score
- CNA (vendor or assigner)
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N(CVSS 3.1, CNA:vmware)