Skip to main content

webpack-dev-server EUVDEUVD-2026-41559

| CVE-2026-14631 MEDIUM
Improper Input Validation (CWE-20)
2026-07-03 openjs GHSA-m28w-2pqf-7qgj
5.3
CVSS 3.1 · Vendor: openjs
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify exposed dev server on non-loopback interface
  2. Delivery
    Craft HTTP request with malformed Host header or WebSocket upgrade to /ws with malformed Origin
  3. Exploit
    Malformed value reaches host-validation path
  4. Execution
    Uncaught exception thrown in Node.js event loop
  5. Persist
    Entire webpack-dev-server process terminates
  6. Impact
    Dev server unavailable until manually restarted

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
Exploitation Conditions

The vulnerable host-validation code path is reachable only when the webpack-dev-server is exposed on a network interface accessible to the attacker - specifically, when it is NOT bound exclusively to localhost (127.0.0.1 or ::1). The default webpack-dev-server configuration binds to localhost only, which is a strong limiting factor: the vast majority of developer workstation deployments are not exploitable without deliberate misconfiguration. Exploitation requires: (1) the dev server configured with host '0.0.0.0', a LAN IP, or any non-loopback bind address, or (2) the attacker having local network access to the development machine. Two distinct trigger paths exist - a malformed Host header on any HTTP request, or a malformed Origin header on a WebSocket upgrade to the default /ws endpoint. No authentication is required once network reach is established. Exploitation does not require any specific webpack project configuration beyond running the affected server version on an exposed interface. What limits real-world impact: this is a development tool not intended for production, default configuration prevents remote access, and the impact is confined to crashing the dev process with no data or code execution consequence.

Impact

Real-world risk is low-to-moderate despite the CVSS 5.3 (Medium) score. The CVSS vector AV:N/AC:L/PR:N/UI:N correctly reflects that no authentication or user interaction is needed and exploitation is trivially automated, but the A:L rating (partial availability) is arguably understated - the vulnerability terminates the entire Node.js process, which more closely aligns with A:H; this discrepancy between the vendor-assigned score and the technical outcome should be verified. The provided 'RCE' tag in the intelligence feed directly contradicts the vendor description and CVSS C:N/I:N metrics; this tag is almost certainly erroneous and should not influence risk scoring. Critically, the default webpack-dev-server configuration binds only to localhost (127.0.0.1), which means the attack surface is zero in typical developer workstation deployments. Risk materializes primarily in CI/CD pipeline runners, shared development environments, or containerized setups where the dev server is inadvertently exposed on 0.0.0.0 or a routable interface. No EPSS data was provided; no CISA KEV listing exists; no POC was referenced. The practical threat is a nuisance DoS of a development tool, not a production-system compromise.

Exploit ScenarioDerived

An attacker with network access to an exposed webpack-dev-server instance (e.g., a CI runner or developer workstation with the server bound to 0.0.0.0) sends a single HTTP GET request with a structurally invalid Host header value such as a null byte or malformed unicode sequence. The host-validation path throws an uncaught exception, and Node.js terminates the dev server process immediately, halting all active development builds and hot-module replacement sessions. No public exploit code was referenced in available intelligence, but the attack is trivially constructable from the description.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 03, 2026

webpack-dev-server 5.2.5 and earlier crash the entire Node.js host process when an unauthenticated remote peer sends either an HTTP request with a malformed Host header or a WebSocket upgrade to the /ws endpoint with a malformed Origin header. The malformed value bypasses graceful error handling in the host-validation path, triggering an uncaught exception that terminates the dev server process entirely. Impact is confined to availability - no confidentiality loss and no code execution occur despite a misleading 'RCE' tag in the source intelligence, which appears to be a mislabeling inconsistent with the vendor description and CVSS vector (C:N/I:N). No public exploit or CISA KEV listing exists at time of analysis.

RemediationAI

The primary fix is to upgrade webpack-dev-server to version 5.2.6, which is the vendor-confirmed patched release per the GitHub Security Advisory GHSA-m28w-2pqf-7qgj (https://github.com/webpack/webpack-dev-server/security/advisories/GHSA-m28w-2pqf-7qgj). Run 'npm install webpack-dev-server@5.2.6 --save-dev' or 'yarn add webpack-dev-server@5.2.6 --dev' to update. For environments where an immediate upgrade is not possible, the vendor-recommended workaround is to ensure the dev server remains bound to localhost only (the default configuration), preventing untrusted network peers from reaching the vulnerable endpoint at all. If the dev server must be exposed on a non-loopback interface (e.g., in a shared CI runner or Docker container), restrict access via network-layer controls such as firewall rules or security group policies that allowlist only trusted source IPs to the dev server port. Note that binding to 0.0.0.0 without network controls is the primary misconfiguration that converts this from a theoretical to an exploitable issue.

Affected VersionsENISA

webpack-dev-server 0 <5.2.6

Affected Packages

npm webpack-dev-server fix: 5.2.6

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

webpack-dev-server is a Node.js-based development HTTP and WebSocket server bundled with the webpack build toolchain, widely used to serve JavaScript bundles with hot-module replacement during frontend development. The affected component is the host-validation middleware, which checks incoming Host (HTTP/1.1) and Origin (WebSocket upgrade) headers against an allowlist to prevent DNS rebinding attacks. CWE-20 (Improper Input Validation) is the root cause: the validation code does not guard against structurally malformed header values - values that are syntactically invalid rather than simply not on the allowlist - allowing a crafted input to reach a code path that throws an uncaught exception. In Node.js, an uncaught exception in the main event loop terminates the entire process, so a single malformed request is sufficient to crash the server. Affected CPE: cpe:2.3:a:webpack-dev-server:webpack-dev-server:*:*:*:*:*:*:*:* covering versions up to and including 5.2.5.

Know when Node.js gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (openjs) PRIMARY 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
vuln.today AI 7.5 HIGH

Unauthenticated network exploitation with no complexity; A:H chosen over vendor A:L because a single packet terminates the entire Node.js process, constituting complete availability loss of the service.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE MEDIUM
Red Hat 4.3 MEDIUM

Primary rating from Vendor (openjs).

CVSS VectorVendor: openjs

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

Lifecycle Timeline

1
Patch available
Jul 03, 2026 - 19:01 EUVD

DescriptionCVE.org

webpack-dev-server versions 5.2.5 and earlier terminate the whole Node.js process when an unauthenticated peer sends either a normal HTTP request with a malformed Host header or a WebSocket upgrade to the default /ws endpoint with a malformed Origin header. The malformed value causes an uncaught exception in the host-validation path and crashes the dev server. Impact is limited to availability of the development server, no data disclosure, no code execution. Patches: upgrade to webpack-dev-server 5.2.6. Workarounds: keep the dev server bound to localhost (the default) and do not expose it to untrusted networks.

Blast Radius

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

Ecosystem-wide dependent count for version 5.2.6.

Threat Intelligence Overview

EPSS Score
0.3%
Top 77% exploitable
Prevalence
High
used in the vast majority of webpack-based JavaScript projects globally
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
High
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2024-41713 CRITICAL POC
9.1 Oct 21

A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could

CVE-2024-55591 CRITICAL POC
9.8 Jan 14

FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote

CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2014-7205 CRITICAL POC
10.0 Oct 08

Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t

CVE-2025-59528 CRITICAL POC
10.0 Sep 22

Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete

CVE-2017-14849 HIGH POC
7.5 Sep 28

Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc

CVE-2017-5941 CRITICAL POC
9.8 Feb 09

An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2014-3744 HIGH POC
7.5 Oct 23

Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi

CVE-2014-9566 HIGH POC
7.5 Mar 10

Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin

CVE-2024-35286 CRITICAL POC
9.8 Oct 21

A vulnerability in NuPoint Messenger (NPM) of Mitel MiCollab through 9.8.0.33 allows an unauthenticated attacker to cond

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

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