Skip to main content
CVE-2026-59390VulnerabilityPublished

Spring Framework's WebSocket support does not validate the Origin header by default if WebSocketHttpRequestHandler is

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-59390· Medium 5.9

Not known to be exploited · CVSS 5.9 Medium · fixed in 7.0.11 : update Spring Framework when convenient.

Data as of 2 Dec 2026, 10:30 UTC

CVSS 3.1 base score
5.9Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (vmware)CVSS 3.15.9
Patch
Available – fixed in 7.0.11, 7.0.10.1, 6.2.21 +4
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2 Dec 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
SpringSpring FrameworkAffected
  • >=7.0.0 <7.0.11
Fixed in
  • 7.0.11
SpringSpring FrameworkAffected
  • >=7.0.0 <7.0.10.1
Fixed in
  • 7.0.10.1
SpringSpring FrameworkAffected
  • >=6.2.0 <6.2.21
Fixed in
  • 6.2.21
SpringSpring FrameworkAffected
  • >=6.1.0 <6.1.30
Fixed in
  • 6.1.30
SpringSpring FrameworkAffected
  • >=6.0.0 <6.0.33
Fixed in
  • 6.0.33
SpringSpring FrameworkAffected
  • >=5.3.0 <5.3.51
Fixed in
  • 5.3.51

AI-suggested

Applications should avoid configuring WebSocketHttpRequestHandler directly without an explicit origin check. Instead, use the WebSocketHandlerRegistry configuration which enforces origin validation by default. If direct configuration is necessary, implement a custom origin check to validate the Origin header.

Description

Spring Framework's WebSocket support has a vulnerability where the Origin header is not validated by default if the application configures WebSocketHttpRequestHandler directly instead of using the WebSocketHandlerRegistry. This can allow a page from a different origin to open a WebSocket connection, leading to potential cross-site WebSocket hijacking. Applications using the standard WebSocketHandlerRegistry configuration are not affected.

References

Community reviews

Loading reviews…