Advisory

GHSA-cf66-xwfp-gvc4

Also known as: CVE-2018-14732

Summary

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2019-01-04 17:40 UTC
Modified
2023-11-08 03:59 UTC

Affected packages and fixes

webpack-dev-server

npm · All systems

Affected

  • introduced 0, fixed 3.1.11 (semver)

Fixed versions

3.1.11

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences