npmWorst: High7 advisories

webpack-dev-server: known vulnerabilities

webpack-dev-server has 7 reviewed security advisories in the GitHub Advisory Database — 1 high, 6 moderate. The most recent was published 2026-07-03. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the webpack-dev-server versions running across your servers, containers and images, and ranks what to patch first.

How to fix webpack-dev-server

Upgrade webpack-dev-server to a release at or above the fixed version shown for each advisory below. For npm:

npm install webpack-dev-server@5.2.6 (or run npm audit fix)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (7)

webpack-dev-server vulnerable to cross-site request forgery via internal developer endpoints Moderate 4.7 CWE-352 CWE-749 — Affected: before 5.2.6. Fixed in 5.2.6. Published 2026-07-03. GHSA-f5vj-f2hx-8m93 · CVE-2026-14620
webpack-dev-server vulnerable to denial of service via a malformed Host or Origin header Moderate 5.3 CWE-20 CWE-248 — Affected: before 5.2.6. Fixed in 5.2.6. Published 2026-07-03. GHSA-m28w-2pqf-7qgj · CVE-2026-14631
webpack-dev-server vulnerable to HMR WebSocket interception via permissive user proxies Moderate 5.3 CWE-346 CWE-441 — Affected: before 5.2.5. Fixed in 5.2.5. Published 2026-06-15. GHSA-mx8g-39q3-5c79 · CVE-2026-9595
webpack-dev-server vulnerable to cross-origin source code exposure on non-HTTPS origins Moderate 5.3 CWE-749 — Affected: before 5.2.4. Fixed in 5.2.4. Published 2026-05-12. GHSA-79cf-xcqc-c78w · CVE-2026-6402
webpack-dev-server users' source code may be stolen when they access a malicious web site Moderate 5.3 CWE-749 — Affected: before 5.2.1. Fixed in 5.2.1. Published 2025-06-03. GHSA-4v9v-hfq4-rm2v · CVE-2025-30359
webpack-dev-server users' source code may be stolen when they access a malicious web site with non-Chromium based browser Moderate 6.5 CWE-346 — Affected: before 5.2.1. Fixed in 5.2.1. Published 2025-06-03. GHSA-9jgg-88mc-972h · CVE-2025-30360
Missing Origin Validation in webpack-dev-server High 7.5 CWE-20 — Affected: before 3.1.11. Fixed in 3.1.11. Published 2019-01-04. GHSA-cf66-xwfp-gvc4 · CVE-2018-14732

Find webpack-dev-server across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.