CVE-2018-14732
HIGH7.5EPSS 0.18%Missing Origin Validation in webpack-dev-server
Published: 1/4/2019Modified: 11/8/2023
Also known as:GHSA-cf66-xwfp-gvc4
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 packages (1)
- npm/webpack-dev-serverfrom 0, < 3.1.11
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
References (7)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2018-14732
- PATCHhttps://github.com/webpack/webpack-dev-server
- WEBhttps://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md#3111-2018-12-21
- WEBhttps://github.com/webpack/webpack-dev-server/commit/f18e5adf123221a1015be63e1ca2491ca45b8d10
- WEBhttps://github.com/webpack/webpack-dev-server/issues/1445
- WEBhttps://github.com/webpack/webpack-dev-server/issues/1620
- WEBhttps://www.npmjs.com/advisories/725