CVE-2026-14620
Received Received - Intake

Cross-Origin State-Changing in webpack-dev-server

Vulnerability report for CVE-2026-14620, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-03

Last updated on: 2026-07-03

Assigner: openjs

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-03
Last Modified
2026-07-03
Generated
2026-07-03
AI Q&A
2026-07-03
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
webpack webpack-dev-server to 5.2.6 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-352 The web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor.
CWE-749 The product provides an Applications Programming Interface (API) or similar interface for interaction with external actors, but the interface includes a dangerous method or function that is not properly restricted.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

The vulnerability in webpack-dev-server versions 5.2.5 and earlier involves two internal developer endpoints, /webpack-dev-server/open-editor and /webpack-dev-server/invalidate, which perform state-changing actions on any GET request without verifying the request's origin.

This means that any website a developer visits while the dev server is running can trigger these endpoints cross-origin without any user interaction beyond visiting the site.

An attacker can exploit this to open arbitrary existing local files 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.

Impact Analysis

This vulnerability can impact you by allowing an attacker to remotely trigger actions on your development machine without your consent.

  • An attacker can open arbitrary local files in your editor, potentially exposing sensitive files indirectly.
  • Repeated exploitation can spawn multiple editor processes and force recompilations, which can degrade your machine's performance.

While the vulnerability does not expose file contents directly, the ability to open files and degrade system performance can disrupt development workflows and potentially expose sensitive information through side channels.

Detection Guidance

This vulnerability affects webpack-dev-server versions 5.2.5 and earlier, specifically exposing the internal endpoints /webpack-dev-server/open-editor and /webpack-dev-server/invalidate to cross-site request forgery (CSRF). To detect if your system is vulnerable, you can check the version of webpack-dev-server running on your machine.

  • Run the command `npm list webpack-dev-server` or `yarn list webpack-dev-server` in your project directory to identify the installed version.
  • Monitor network traffic for GET requests to the endpoints `/webpack-dev-server/open-editor` and `/webpack-dev-server/invalidate` coming from unexpected origins.
  • Use tools like curl or wget to test if these endpoints respond to GET requests without origin verification, for example: `curl -v http://localhost:<port>/webpack-dev-server/open-editor`.
Mitigation Strategies

The primary mitigation step is to upgrade webpack-dev-server to version 5.2.6 or later, where the vulnerability has been patched by rejecting cross-site requests to the vulnerable endpoints.

There are no known workarounds other than upgrading.

Until you upgrade, avoid running webpack-dev-server in environments where untrusted websites can be visited simultaneously, as any website visited can trigger the vulnerable endpoints.

Compliance Impact

The provided information does not specify any direct impact of the CVE-2026-14620 vulnerability on compliance with common standards and regulations such as GDPR or HIPAA.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-14620. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart