CVE-2026-14620 webpack-dev-server vulnerable to cross-site request forgery via internal developer endpoints
An attacker can trigger state-changing actions on webpack-dev-server endpoints via CSRF, potentially opening arbitrary files or causing denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2026-14620?
CVE-2026-14620 is a medium-severity vulnerability in webpack-dev-server, published on 3 Jul 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
webpack-dev-server versions 5.2.5 and earlier expose two internal developer endpoints, /webpack-dev-server/open-editor and /webpack-dev-server/invalidate, that perform state-changing actions on any GET request without verifying that the request originated from the dev server's own page. Any website a developer visits while the dev server is running can trigger these endpoints cross-origin with no interaction beyond the visit. An attacker can open an arbitrary existing local file in the developer's editor, including files outside the project root, and repeated requests can spawn editor processes and force recompilations that degrade the developer's machine. Patches: upgrade to webpack-dev-server 5.2.6. Workarounds: none.
Which versions are affected by CVE-2026-14620?
2 open source packages ship an affected version, including webpack-dev-server. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
webpack-dev-server npm | All versions | 5.2.6 |
webpack-dev-server npm | All versions | 5.2.6 |
Products include Webpack.js Webpack-Dev-Server.
How do I fix CVE-2026-14620?
Upgrade webpack-dev-server to 5.2.6 or later.
Is CVE-2026-14620 being exploited?
There is no known exploitation of CVE-2026-14620 in the wild and no public exploit code.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in webpack-dev-server
- CVE-2026-112085 webpack-dev-server vulnerable to cross-origin WebSocket access via proxied upgrades
- CVE-2018-14732 Missing Origin Validation in webpack-dev-server
- CVE-2025-30360 webpack-dev-server users' source code may be stolen when they access a malicious web site with non-Chromium based browser
- CVE-2026-114348 webpack-dev-server vulnerable to information disclosure via Host validation bypass in the open-editor endpoint
- CVE-2026-14631 webpack-dev-server vulnerable to denial of service via a malformed Host or Origin header
Sources
Also known as CLEANSTART-2026-KY31390, GHSA-f5vj-f2hx-8m93, MINI-532c-4x6r-ccmf, MINI-hg8r-9rpg-fqfh, MINI-q4j5-87vh-65pc, MINI-r2xx-45w2-m8w5 and 3 more.