Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLure developer to malicious web page
-
ExploitScript opens cross-origin WebSocket upgrade
-
ExecutionDev server forwards unvalidated upgrade to proxy backend
-
ImpactAttacker reads and writes proxied backend data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Origin validation
|
| Exploitation Conditions | Exploitation requires a devServer.proxy entry explicitly configured with ws:true (WebSocket forwarding); without that proxy/ws configuration the gap does not exist, so default configurations without proxied WebSockets are not affected. It further requires that a developer, while the dev server is running, visit an attacker-controlled web page (UI:R) that scripts a cross-origin WebSocket - the upgrade bypasses the middleware chain and therefore the allowedHosts/Host/Origin checks that already refuse the same route over plain HTTP. Loopback binding does NOT mitigate it because the browser originates the connection. Limiting factors: non-default proxy ws:true configuration, required developer interaction with a malicious page, and the dev-time-only nature of the server. The vendor states omitting ws:true from proxy entries that do not need it and scoping proxy context to specific paths as workarounds, with upgrading to 5.2.7 or 6.1.0 as the fix. |
| Impact | The CVSS 3.1 base score of 8.2 (AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N) is driven largely by the scope change (S:C) and high confidentiality impact: an unauthenticated, network-reachable attacker needs only low complexity, but does require user interaction (UI:R) because a developer must visit a malicious page while the dev server is running. Two signals are missing from the input: no EPSS probability is provided and the vulnerability is not listed in CISA KEV, so there is no confirmed active exploitation. No verified exploit code is present either - the only references are the vendor GHSA advisory and the OpenJSF CNA page, not a PoC. The vuln.today decision label is 'this_week', indicating a prompt but non-emergency priority, which is consistent with the KEV/EPSS picture. The practical risk is materially constrained by two factors the raw score understates: exploitation only works when a proxy entry is explicitly configured with ws:true (a non-default setting), and it requires the developer to be socially engineered into loading attacker-controlled content. This is a genuine development-environment supply-chain/SSRF-style exposure worth patching this week, not a mass-exploitable internet-facing RCE. |
| Exploit ScenarioDerived | A developer runs webpack-dev-server with a devServer.proxy entry configured with ws:true and, while that server is listening (even on loopback), visits a malicious web page in a browser. Attacker JavaScript on that page opens a cross-origin WebSocket to the dev server, which forwards the upgrade to the proxied backend without Host/Origin validation, letting the page read from and write to that backend. No public exploit is identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 22, 2026
Cross-origin WebSocket access in webpack-dev-server before 5.2.7 and in 6.0.0 lets a malicious web page, visited by a developer while the dev server runs, reach a proxied backend through the dev server without Host or Origin validation. The gap exists only when a devServer.proxy entry is configured with ws:true, and it bypasses the allowedHosts checks that already block the same route over plain HTTP-even if the server is bound to loopback. No public exploit identified at time of analysis; the vendor fixed the issue in 5.2.7 and 6.1.0.
RemediationAI
Upgrade webpack-dev-server to 5.2.7 or 6.1.0 (or later) to receive the fix, which applies the same Host and Origin validation to proxied WebSocket upgrades as the HMR WebSocket. If upgrading immediately is not possible, omit ws:true from devServer.proxy entries whose backends do not need WebSocket forwarding-this stops WebSocket proxying for those APIs and may break development features that rely on it-and scope the proxy context to specific paths to reduce the routes that can be reached. Vendor advisory: https://github.com/webpack/webpack-dev-server/security/advisories/GHSA-cfqc-fj3v-j925.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
webpack-dev-server is the development server for webpack projects, providing live reloading and an HMR WebSocket. Its devServer.proxy option can be configured with ws:true to forward WebSocket connections to a backend during development. In affected versions, non-HMR WebSocket upgrade requests sent to such proxy entries are forwarded to the proxy target without passing through the middleware chain that enforces allowedHosts and Host/Origin validation. Because the same route over plain HTTP is refused by those checks, the weakness is specific to upgrade requests: a browser on a malicious page can open a cross-origin WebSocket to the loopback-bound dev server and read from or write to the proxied backend. This is an origin validation error (CWE-346); the fix applies the same Host and Origin validation to proxied WebSocket upgrades that the HMR WebSocket already uses. The affected npm package is covered by CPE cpe:2.3:a:webpack-dev-server:webpack-dev-server:*:*:*:*:*:*:*:*.
Know when Webpack Dev Server gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
Browser-originated attack needs no dev-server privileges (PR:N) but requires the developer to visit a malicious page (UI:R); forwarding to a separate proxied backend crosses scope (S:C) with read and write access (C:H/I:L).
Primary rating from Vendor (openjs).
CVSS VectorVendor: openjs
Lifecycle Timeline
2DescriptionCVE.org
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.
Technical POC Analysis
The flaw is an origin validation error, CWE-346 (the advisory also maps CWE-1385, Missing Origin Validation in WebSockets).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
The webpack-dev-server vulnerability (CVE-2026-112085) affects development environments where a proxy with WebSocket support is configured. A malicious webpage could bypass existing host checks to reach backend systems, potentially exposing sensitive internal services. Leadership should prioritize remediation because developers' local machines often have elevated access to critical infrastructure.
No vendor-released patch identified at time of analysis. Interim mitigations include disabling WebSocket proxying (ws:true) in devServer.proxy settings, restricting development server network access to trusted hosts, and ensuring developers do not visit untrusted web pages while the server is running.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Webpack Dev Server
View allAn issue was discovered in lib/Server.js in webpack-dev-server before 3.1.6. Rated high severity (CVSS 7.5), this vulner
webpack-dev-server allows users to use webpack with a development server that provides live reloading. Prior to version
A remote code execution vulnerability in webpack-dev-server (CVSS 5.3) that allows users. Risk factors: public PoC avail
Cross-origin source code exposure in webpack-dev-server up to 5.2.3 allows attackers controlling a malicious website to
Information disclosure in webpack-dev-server 5.1.0 through 5.2.6 and 6.0.0 lets an unauthenticated network peer reach th
webpack-dev-server 5.2.5 and earlier crash the entire Node.js host process when an unauthenticated remote peer sends eit
Cross-site request forgery in webpack-dev-server 5.2.5 and earlier allows any website visited by a developer to silently
webpack-dev-server's WebSocket upgrade handler, when a proxy entry is configured with a broad path context (/) and ws: t
EUVD-2026-108108
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB