Servers and applications
CVE-2026-59390
Spring Framework No Origin Validation If WebSocket Handling Configured Directly
- Severity
- Medium 5.9
- Published
- 2 Dec 2026
- Last changed
- 2 Dec 2026
- Added to UpHeron
- 2 Dec 2026
- Fixed in
- 5.3.51, 6.0.33, 6.1.30, 6.2.21, 7.0.10.1, 7.0.11
- Exploit chance
- 0.4% in the next 30 daysHigher than 33% of CVEs. EPSS by FIRST, 2 Dec 2026
- Attack
- Over the network · Only under certain conditions · No login needed · Needs someone to click or open something
- Attacker can
- Read data · Change some data
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N- Sources
- CVE Program
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.
Affected software
| Software | Affected versions |
|---|---|
Spring FrameworkServers and applications · cna:spring|spring framework |
All 7 release lines
|
About Spring Framework
application framework for Java platform
- GitHub stars
- 60,338GitHub, 29 Nov 2026
- Forks
- 38,915GitHub, 29 Nov 2026
- Latest release
- v7.0.11GitHub, 29 Nov 2026
- Released
- 19 Nov 2026GitHub
- Developer
- VMwareWikidata
- License
- Apache License 2.0Wikidata
- Written in
- Java, Kotlin, Apache GroovyWikidata
- First released
- 16 Nov 2002Wikidata
- First published on GitHub
- 8 Dec 2010GitHub
Release lines
| Release | Latest | Security fixes |
|---|---|---|
| 7.1 | 7.1.0 | Until 31 Dec 2027 |
| 7.0 | 7.0.11 | Until 31 Jul 2027 |
| 6.2 | 6.2.19 | Ended 30 Jun 2026 |
| 6.1 | 6.1.21 | Ended 30 Jun 2025 |
| 6.0 | 6.0.23 | Ended 30 Jun 2024 |
| 5.3 (LTS)LTS | 5.3.39 | Ended 31 Aug 2024 |
From endoflife.date.
Vulnerabilities in Spring Framework
- In our list
- 13
- Published in the last 12 months
- 13
- Critical, last 12 months
- 0
- High, last 12 months
- 1
- Known exploited
- 0
- CVE-2026-59431Spring Framework Denial of Service via SpEL Collection SelectionMedium 5.3 2 Dec 2026
- CVE-2026-59430Spring Framework Unintended Constructor and Method Invocation via Type Conversion in SpELMedium 5.6 2 Dec 2026
- CVE-2026-59429Spring Framework Denial of Service via PathPatternLow 3.7 2 Dec 2026
- CVE-2026-59419Spring Framework Denial of Service with HTTP client observationsMedium 5.9 2 Dec 2026
- CVE-2026-59418Spring Framework Denial of Service with streaming text decoding in WebFluxMedium 5.9 2 Dec 2026
- CVE-2026-59398Spring Framework Denial of Service with Parameter-based Content NegotiationMedium 5.3 2 Dec 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-59390