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.
Published: 2026-12-02
Score: 5.9 Medium
EPSS: n/a
KEV: No
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No solution or workaround provided in the CVE record.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 02 Dec 2026 07:30:00 +0000

Type Values Removed Values Added
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.
Title Spring Framework No Origin Validation If WebSocket Handling Configured Directly
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: vmware

Published:

Updated: 2026-12-02T07:11:00.189Z

Reserved: 2026-07-04T18:15:31.160Z

Link: CVE-2026-59390

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses

No weakness.