CVE-2026-14620 Details
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.
A cross-site request forgery vulnerability has been identified in webpack-dev-server versions 5.2.5 and earlier. The issue arises from two internal developer endpoints, '/webpack-dev-server/open-editor' and '/webpack-dev-server/invalidate', which are exposed to all GET requests without proper validation of the request's origin. This flaw allows any website visited by a developer with the dev server running to trigger these endpoints cross-origin, without any interaction beyond the visit. Exploitation of this vulnerability can lead to state changes on the developer's machine, such as opening arbitrary local files in the editor, including those outside the project root, and causing repeated recompilations that degrade the machine's performance.
Upgrade to webpack-dev-server version 5.2.6, which patches the vulnerability by rejecting cross-site requests to the affected endpoints.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 6, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://cna.openjsf.org/security-advisories.html | openjs | Third Party Advisory |
| https://github.com/webpack/webpack-dev-server/security/advisories/GHSA-f5vj-f2hx-8m93 | openjs | PatchVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-352 | Cross-Site Request Forgery (CSRF) | openjs |
| CWE-749 | Exposed Dangerous Method or Function | openjs |
Affected Products
| Product | Versions |
|---|---|
| webpack.js webpack-dev-server | < 5.2.6 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 7, 2026 | Reanalysis | [email protected] |
| Jul 7, 2026 | Initial Analysis | [email protected] |
| Jul 6, 2026 | CVE Modified | CISA-ADP |
| Jul 3, 2026 | New CVE Received | openjs |