VDB
KO
HIGH 7.5

GHSA-cf66-xwfp-gvc4

Missing Origin Validation in webpack-dev-server

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm / webpack-dev-server
Introduced in: 0 Fixed in: 3.1.11
Fix npm install webpack-dev-server@3.1.11

References