Vulnerability
CVE-2026-6402
webpack-dev-server versions up to and including 5.2.3 are vulnerable to cross-origin source code exposure when serving over a non-potentially trustworthy origin such as plain HTTP. The previous fix relied on the Sec-Fetch-Mode and Sec-Fetch-Site request headers, which browsers omit for non-trustworthy origins, allowing a malicious site to load the bundled source as a script and read it across origins. Impact: an attacker controlling a website visited by a developer running webpack-dev-server can recover the application source code when the dev server runs over HTTP at a guessable host and port. Chromium based browsers from Chrome 142 onward are not affected due to local network access restrictions. Upgrade to webpack-dev-server 5.2.4 or later, which sets Cross-Origin-Resource-Policy: same-origin on responses.
80 advisories report this vulnerability, across 6 ecosystems.
Advisories
- CGA-2522-9pc8-5wc3
- CGA-2945-pqjf-xq37
- CGA-2ff5-wm9r-2725
- CGA-2m83-gvp4-hvwx
- CGA-2mmm-rr28-8pxj
- CGA-33f7-69gq-m69c
- CGA-37c5-j86w-cvwm
- CGA-37cj-rx2j-82w7
- CGA-38jm-gwx2-r286
- CGA-38pj-v5f4-hm78
- CGA-39xv-qq37-wvp7
- CGA-3fjm-rxw6-5hh8
- CGA-3m8c-2jrq-cqjj
- CGA-3m9m-v6cc-p783
- CGA-3pph-ghgq-5h9v
- CGA-3qvr-qmrp-399x
- CGA-3xr6-g5c4-xvxp
- CGA-5x8j-qxg8-qm23
- CGA-66p6-mgp3-pp3r
- CGA-6rqr-3w47-m4wp
- CGA-6xrm-m72w-x827
- CGA-72hj-c7gx-36pg
- CGA-7qq5-xrp6-7xwj
- CGA-7w9w-93x6-p434
- CGA-835h-482c-h782
- CGA-848w-pq8x-234h
- CGA-876r-gcr5-ffw8
- CGA-8fvr-9rw6-w8qr
- CGA-8q9g-w8m8-8r3v
- CGA-9hmv-hvhg-83w9
- CGA-9m7m-w4ww-6vfp
- CGA-9x7h-phjp-4f38
- CGA-9xc2-cccp-pf4c
- CGA-c589-9p83-5mfr
- CGA-c836-m2hc-jcjv
- CGA-cc67-hcvg-8w7v
- CGA-cpw7-h49x-c3rf
- CGA-f43x-hcv2-gc8c
- CGA-f455-p6h9-x75v
- CGA-f837-5w47-3f94
- CGA-fx2x-wwmw-cq42
- CGA-g8vm-wfp9-rm9h
- CGA-gm57-xhqf-7q55
- CGA-gqgg-2qwx-c3v5
- CGA-hq78-8mp6-2wh7
- CGA-j4pp-vw52-xwh4
- CGA-j9wh-vghf-g2r9
- CGA-jgpg-jfrf-grfp
- CGA-jm2p-843r-rmv8
- CGA-m9xx-6384-f58q
- CGA-p2gw-gcxr-h65c
- CGA-p33w-3j8h-wp4g
- CGA-p6jc-3h52-c8j5
- CGA-q29g-j2hg-43r8
- CGA-q532-p6qp-j5cj
- CGA-q9xp-9f2w-hwm2
- CGA-qcqx-f362-8ff3
- CGA-qfhr-xq74-22p8
- CGA-qp93-xrwf-wx8c
- CGA-qpfq-mv8c-gv45
- CGA-qwv4-527m-gg9c
- CGA-qxmc-cvg5-vp4j
- CGA-qxp2-ghgv-94xx
- CGA-r455-8p4g-5f4j
- CGA-rpqf-wmmg-r9pg
- CGA-vrq8-4978-wmxr
- CGA-w9hp-8r47-f46x
- CGA-wc2c-5wxv-37f9
- CGA-wpch-gjch-4p2c
- CGA-wpmw-ffjc-mmv5
- CGA-wwph-cj75-pw9p
- CGA-x246-hxwq-92f2
- CGA-x36h-hr4q-9rp2
- CGA-xgwp-fv3p-gcf4
- CGA-xp2w-f3vx-f9j4
- CGA-xxcm-5859-mh2v
-
GHSA-79cf-xcqc-c78w
webpack-dev-server vulnerable to cross-origin source code exposure on non-HTTPS origins
-
RHVEX-CVE-2026-6402
webpack-dev-server: webpack-dev-server: Information disclosure due to cross-origin source code exposure
-
SUSEVEX-CVE-2026-6402
webpack-dev-server versions up to and including 5.2.3 are vulnerable to cross-origin source code exposure when serving over a non-potentially trustworthy origin such as plain HTTP. The previous fix relied on the…
-
openSUSE-SU-2026:10979-1
agama-web-ui-21+360.16caae772-44.1 on GA media