CVE-2026-59390

medium

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.

References

https://spring.io/security/cve-2026-59390

https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N&version=3.1

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-140881

Details

Source: Mitre, NVD

Published: 2026-12-02

Updated: 2026-12-02

CVSS v3

Base Score: 5.9

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

Severity: Medium

EPSS

EPSS: 0.00375