CVE-2018-14731

An issue was discovered in HMRServer.js in Parcel parcel-bundler

published September 21, 2018

CVSS
—
EPSS
2%
Percentile
83.4
In the wild
Unconfirmed
What it is

An issue was discovered in HMRServer.js in Parcel parcel-bundler. 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 connection (with a random TCP port number) from any origin. The random port number can be found by connecting to http://127.0.0.1 and reading the "new WebSocket" line in the source code.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.02327 · 83.4th percentile
Published
2018-09-21T17:00Z
EPSS history
Timeline
  • 21 SEP 17:00Z
    An issue was discovered in HMRServer.js in Parcel parcel-bundler
    cvelistv5