Security mailing lists by PureSourceCode

CVE-2018-14732

HIGH 7.5CVSS 3.0

Missing Origin Validation in webpack-dev-server

An issue was discovered in lib/Server.js in webpack-dev-server before 3.1.6. Attackers are able to steal developer's code because the origin of requests is not checked by the WebSocket server, which is used for HMR (Hot Module Replacement). Anyone can receive the HMR message sent by the WebSocket server via a ws://127.0.0.1:8080/ connection from any origin.

Published
21 Sep 2018
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-20
Also known as
GHSA-cf66-xwfp-gvc4
Sources
NVDJSONOSV GHSA-cf66-xwfp-gvc4JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.0 HIGH 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.0 HIGH 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:P/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD webpack.js webpack-dev-server
cpe:2.3:a:webpack.js:webpack-dev-server:*:*:*:*:*:*:*:*
< 3.1.6 3.1.6
OSV npm webpack-dev-server < 3.1.11 3.1.11

References

History

  • 25 Nov 2026 20:21 UTC · NVD: first stored (published 21 Sep 2018)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 4 Jan 2019)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.