KeygraphLabs · CVE MCP

CVE-2018-14732 · mitre

CVE-2018-14732

An issue was discovered in lib/Server.js in webpack-dev-server before 3.1.6. Attackers are able to steal developer's code because the origin of requests is not checked by the WebSocket server, which is used for HMR (Hot Module Replacement). Anyone can receive the HMR message sent by the WebSocket server via a ws://127.0.0.1:8080/ connection from any origin.

Published 2018-09-21, last changed 2026-06-17. Weakness: CWE-20.

CVSS
7.5
high, from NVD
EPSS
2.49%
percentile 85.2%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

How to fix

Upgrade to a fixed version: webpack-dev-server 3.1.11 (npm). For the version that clears every advisory for your installed version, ask an agent for get_remediation.

Where the flaw is in the code

Fixed in webpack/webpack-dev-server by f18e5adf12, 0e1f0c1b74. Functions changed by the fix: checkHost, listen. Confidence: verified (a record names this commit as the fix, and it changed these functions).

Timeline

2018-09-21Published
2019-01-04Package advisory GHSA-cf66-xwfp-gvc4
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 2.49%
2026-12-02Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-cf66-xwfp-gvc4webpack-dev-server (npm)3.1.11

Also known as: GHSA-cf66-xwfp-gvc4

Related

CVEPublishedCVSSSummary
CVE-2026-146312026-07-035.3webpack-dev-server vulnerable to denial of service via a malformed Host or Origin header
CVE-2026-146202026-07-034.7webpack-dev-server vulnerable to cross-site request forgery via internal developer endpoints
CVE-2026-95952026-06-154.3webpack-dev-server vulnerable to HMR WebSocket interception via permissive user proxies
CVE-2026-64022026-05-126.5webpack-dev-server vulnerable to cross-origin source code exposure on non-HTTPS origins
CVE-2025-303602025-06-036.5webpack-dev-server users' source code may be stolen when they access a malicious web site with non-Chromium based browser
CVE-2025-303592025-06-035.9webpack-dev-server users' source code may be stolen when they access a malicious web site
CVE-2026-1068042026-11-027.5same weakness (CWE-20) from the same CNA (mitre)
CVE-2025-713832026-10-069.8same weakness (CWE-20) from the same CNA (mitre)

Add it to your agent

One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.

claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp

Then ask for triage_cve CVE-2018-14732, or call /api/v1/vulnerabilities/CVE-2018-14732. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.

NVD · CVE.org