HIGH 7.5

CVE-2018-14732

Missing Origin Validation in webpack-dev-server

Description

Versions of webpack-dev-server before 3.1.10 are missing origin validation on the websocket server. This vulnerability allows a remote attacker to steal a developer's source code because the origin of requests to the websocket server that is used for Hot Module Replacement (HMR) are not validated.

Recommendation

For webpack-dev-server update to version 3.1.11 or later.

Affected Maven artifacts (2)

ArtifactAffected versionsFixed in
org.mvnpm » webpack-dev-servervia npm webpack-dev-server
< 3.1.11
3.1.11
org.webjars.npm » webpack-dev-servervia npm webpack-dev-server
< 3.1.11
3.1.11

Blast radius

2affected artifacts
9affected versions
6dependent artifacts (est.)
13dependent versions

66% of the dependent artifacts (4) still pull an affected version in their latest release.

DepthDependent versions
Direct
13

Most used dependents

Computed from the dependency graph of build 20261203.1441 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

Other ecosystems

Also affects npm (1 package) . See all on OSV