Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Java

CVE-2026-59390 — Spring Framework

Medium · CVSS 5.9EPSS 0.4% First seen December 02, 2026

One of 13 Spring Framework vulnerabilities published together by NVD: our article covers all of them.

JavaWebVulnerabilities

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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

Medium · 5.9 CVSS 3.1 base score from the CNA (vmware.com)

An attacker without an account can exploit this over the network if a user is tricked into an action, but only under specific conditions.

Attack from
the network (remotely)
Attack complexity
high (only works under specific conditions)
Login needed
no
User action needed
yes, someone must click, open or visit something
Scope
stays within the vulnerable component
Impact
high on confidentiality, low on integrity, none on availability

Vector CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N

Affected and fixed versions

ProductAffected versionsFixed in
Spring Framework≥ 7.0.0, < 7.0.10.17.0.10.1
≥ 6.2.0, < 6.2.216.2.21
≥ 6.1.0, < 6.1.306.1.30
≥ 6.0.0, < 6.0.336.0.33
≥ 5.3.0, < 5.3.515.3.51
< 5.2.27.RELEASE5.2.27.RELEASE
≥ 7.0.0, < 7.0.117.0.11

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Other references

Details from NVD (public domain).

Affected

  • Spring Framework

What to do

  • Follow the vendor advisory and the references below for fixed versions and workarounds.

Frequently asked questions

What is CVE-2026-59390?

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.

How severe is CVE-2026-59390?

CVE-2026-59390 has a CVSS 3.1 base score of 5.9 (medium), from the CNA (vmware.com). An attacker without an account can exploit this over the network if a user is tricked into an action, but only under specific conditions.

Is CVE-2026-59390 being exploited?

Not as far as is known: CVE-2026-59390 is not in CISA's Known Exploited Vulnerabilities catalog as of December 3, 2026. EPSS estimates a 0.4% chance that it is exploited in the next 30 days.

Which versions are affected by CVE-2026-59390?

Spring Framework ≥ 7.0.0, < 7.0.10.1 (fixed in 7.0.10.1); Spring Framework ≥ 6.2.0, < 6.2.21 (fixed in 6.2.21); Spring Framework ≥ 6.1.0, < 6.1.30 (fixed in 6.1.30); Spring Framework ≥ 6.0.0, < 6.0.33 (fixed in 6.0.33); and more, listed on this page.

How do I fix CVE-2026-59390?

Update to a fixed release: Spring Framework 7.0.10.1; Spring Framework 6.2.21; Spring Framework 6.1.30.

Timeline & sources

References

Related vulnerabilities & news