Is webpack-dev-server 5.2 vulnerable?

npm · 8 releases from 5.2.0 to 5.2.7 · latest webpack-dev-server is 6.1.0 · checked 1 Nov 2026

No known advisories in the last release

webpack-dev-server 5.2.7, the last 5.2 release, has no known advisories. 6 advisories affect earlier 5.2.x releases, so update to 5.2.7.

Update within 5.2:npm install webpack-dev-server@5.2.7

Is your project affected?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Fixed within 5.2.x, affecting earlier releases

  • MediumCVE-2026-14631GHSA-m28w-2pqf-7qgj20 Jul 2026

    webpack-dev-server vulnerable to denial of service via a malformed Host or Origin header

    Affected
    <5.2.6
    Fixed in
    5.2.6
  • MediumCVE-2026-14620GHSA-f5vj-f2hx-8m9320 Jul 2026

    webpack-dev-server vulnerable to cross-site request forgery via internal developer endpoints

    Affected
    <5.2.6
    Fixed in
    5.2.6
  • MediumCVE-2026-9595GHSA-mx8g-39q3-5c7917 Jun 2026

    webpack-dev-server vulnerable to HMR WebSocket interception via permissive user proxies

    Affected
    <5.2.5
    Fixed in
    5.2.5
  • MediumCVE-2026-6402GHSA-79cf-xcqc-c78w18 May 2026

    webpack-dev-server vulnerable to cross-origin source code exposure on non-HTTPS origins

    Affected
    <5.2.4
    Fixed in
    5.2.4
  • MediumCVE-2025-30360GHSA-9jgg-88mc-972h4 Jun 2025

    webpack-dev-server users' source code may be stolen when they access a malicious web site with non-Chromium based browser

    Affected
    <5.2.1
    Fixed in
    5.2.1
  • MediumCVE-2025-30359GHSA-4v9v-hfq4-rm2v4 Jun 2025

    webpack-dev-server users' source code may be stolen when they access a malicious web site

    Affected
    <5.2.1
    Fixed in
    5.2.1

Which of your client projects are still on webpack-dev-server 5.2?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact webpack-dev-server version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other webpack-dev-server versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the npm registry. Refreshed daily.