webpack-dev-server vulnerabilities

Serves a webpack app. Updates the browser on changes.

Registry
npm
Latest
6.1.0
License
MIT

7 known advisories

The latest version, 6.1.0, is not affected by any of them. Projects on older versions may be.

Update to the latest version:npm install webpack-dev-server@6.1.0

Security advisories for webpack-dev-server

  • MediumGHSA-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
  • MediumGHSA-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
  • MediumGHSA-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
  • MediumGHSA-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
  • MediumGHSA-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
  • MediumGHSA-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
  • HighGHSA-cf66-xwfp-gvc44 Jan 2019

    Missing Origin Validation in webpack-dev-server

    Affected
    <3.1.11
    Fixed in
    3.1.11

Which of your client projects still run an old webpack-dev-server?

NPMscan reads the package-lock.json, yarn.lock and pnpm-lock.yaml in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other npm packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the npm registry.