All vulnerabilities

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.

From the CVE Program.

Affected software

SoftwareAffected versions
Spring FrameworkServers and applications · cna:spring|spring framework
  • From 7.0.0 before 7.0.11
  • From 7.0.0 before 7.0.10.1
  • From 6.2.0 before 6.2.21
  • From 6.1.0 before 6.1.30
All 7 release lines
  • Every version before 5.2.27.RELEASE
  • From 5.3.0 before 5.3.51
  • From 6.0.0 before 6.0.33
  • From 6.1.0 before 6.1.30
  • From 6.2.0 before 6.2.21
  • From 7.0.0 before 7.0.10.1
  • From 7.0.0 before 7.0.11

About Spring Framework

application framework for Java platform

From Wikidata, CC0 1.0.
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

ReleaseLatestSecurity fixes
7.17.1.0Until 31 Dec 2027
7.07.0.11Until 31 Jul 2027
6.26.2.19Ended 30 Jun 2026
6.16.1.21Ended 30 Jun 2025
6.06.0.23Ended 30 Jun 2024
5.3 (LTS)LTS5.3.39Ended 31 Aug 2024

From endoflife.date.

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-59390