CWE-1385Variant

Missing Origin Validation in WebSockets

Incomplete in the CWE catalog · 45 CVEs mapped

45
CVEs mapped
6.8
Median CVSS
What it is

The product uses a WebSocket, but it does not properly verify that the source of data or communication is valid.

Recent examples
8.2cvss
CVE-2026-112085

CVE-2026-112085 - HIGH Severity Vulnerability

webpack-dev-server is a development server that provides live reloading for webpack projects. In versions before 5.2.7 and in version 6.0.0, when a proxy entry is configured to forward WebSockets, the server forwards non-HMR WebSocket upgrade requests to the proxy target without validating the Host or Origin headers, so the allowedHosts protection does not apply to those proxied upgrades. A malicious web page visited by a developer can open a cross-origin WebSocket through the dev server and read from and write to the proxied backend, even when the server is bound to loopback. The issue is fixed in webpack-dev-server 5.2.7 and 6.1.0, where proxied WebSocket upgrades pass the same Host and Origin validation as the HMR WebSocket, and users should upgrade to one of those versions or later. As a workaround, omit WebSocket forwarding from proxy entries that do not need it and scope the proxy to specific paths.

HIGHno explanation yet
0%
epss
—none
CVE-2026-85267

CVE-2026-85267 - UNKNOWN Severity Vulnerability

A Cross-Site WebSocket Hijacking vulnerability in Cloud Shell prior to 2026-07-22 on Google Cloud Platform allows an unauthenticated attacker to hijack an active Cloud Shell session and exfiltrate the user's OAuth access token using a cross-origin WebSocket request. This vulnerability was patched on 22 July 2026, and no customer action is needed.

no explanation yet
0%
epss
8.8cvss
CVE-2026-77363

CVE-2026-77363 - HIGH Severity Vulnerability

obsidian-tc is a governed, agent-ready Model Context Protocol server for Obsidian vaults. Prior to 1.3.1, the Streamable HTTP transport does not validate the Host or Origin header or enable DNS-rebinding protection. When the documented loopback configuration uses auth.mode set to none, a malicious web page can send requests to the local MCP endpoint and receive unrestricted vault access through the http-local caller. Version 1.3.1 fixes the vulnerability by enabling host, origin, and DNS-rebinding validation.

HIGHno explanation yet
0%
epss
The record
Technical detail
CWE ID
CWE-1385
Abstraction
Variant
Structure
Simple
Status
Incomplete
References (5)