Skip to main content

webpack-dev-server CVE-2026-14620

| EUVDEUVD-2026-41558 MEDIUM
Cross-Site Request Forgery (CSRF) (CWE-352)
2026-07-03 openjs GHSA-f5vj-f2hx-8m93
4.7
CVSS 3.1 · NVD
Share

Severity by source

Vendor (openjs) PRIMARY
MEDIUM
qualitative
NVD
4.7 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:N/A:L
vuln.today AI
4.7 MEDIUM

Browser-driven CSRF over network, no auth on dev server, scope crosses to local OS editor; only availability degraded via recompilation spam.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
SUSE
MEDIUM
qualitative
Red Hat
4.7 MEDIUM
qualitative

Primary rating from Vendor (openjs).

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
None
Integrity
None
Availability
Low

Lifecycle Timeline

2
Patch available
Jul 03, 2026 - 18:01 EUVD
Analysis Generated
Jul 03, 2026 - 17:31 vuln.today

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 917 npm packages depend on webpack-dev-server (448 direct, 479 indirect)

Ecosystem-wide dependent count for version 5.2.6.

DescriptionNVD

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.

AnalysisAI

Cross-site request forgery in webpack-dev-server 5.2.5 and earlier allows any website visited by a developer to silently invoke two unauthenticated state-changing endpoints - /webpack-dev-server/open-editor and /webpack-dev-server/invalidate - via simple browser-initiated GET requests that carry no CSRF protection. An attacker controlling a web page visited during an active dev session can open arbitrary local files in the developer's editor (including files outside the project root) and trigger repeated forced recompilations that degrade workstation performance. No public exploit has been identified at time of analysis, and exploitation is confined to developer workstations rather than production infrastructure.

Technical ContextAI

webpack-dev-server is a Node.js HTTP server used during frontend JavaScript development to serve hot-module-replacement bundles; it exposes several internal HTTP endpoints for tooling integration. The affected product (CPE: cpe:2.3:a:webpack-dev-server:webpack-dev-server:*:*:*:*:*:*:*:*) binds these endpoints on localhost and accepts GET requests without validating the Origin header, a Referer allowlist, or any CSRF token. CWE-352 (Cross-Site Request Forgery) is the root cause: browsers automatically include cookies and follow cross-origin GET requests without triggering a CORS preflight, so a visiting page can reach http://localhost:<port>/webpack-dev-server/open-editor?fileName=<path> freely. The open-editor endpoint passes the fileName parameter to the OS shell to launch an editor process, and there is no path restriction preventing traversal outside the project root.

RemediationAI

Upgrade to webpack-dev-server 5.2.6, which is the vendor-released patch confirmed by the OpenJS Foundation CNA and the GitHub Security Advisory GHSA-f5vj-f2hx-8m93. No workarounds are identified - the advisory explicitly states none exist, so the upgrade is the only supported remediation path. Teams should update their package.json devDependencies or lockfiles accordingly and re-run dependency installation. As a defense-in-depth measure independent of patching, webpack-dev-server should never be bound to a non-loopback interface during development; if firewall or network policy enforcement prevents localhost-only binding, blocking inbound connections to the dev server port at the host firewall will prevent cross-origin browser requests from reaching the endpoints. Note that this network-level control does not mitigate the attack if the malicious page is loaded on the same machine as the dev server.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Performance Computing 12 Not-Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Not-Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Not-Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Not-Affected

Share

CVE-2026-14620 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy