CVE-2018-14731

7.5
HIGHCVSS v3.1 Base Score
2.33%
LOW RiskEPSS (84th percentile)

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.

Published: 9/21/2018
Modified: 6/17/2026
Back to CVE Lookup

Vulnerability Summary

CVSS v3 Score

7.5HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

CVSS v2 Score

5

AV:N/AC:L/Au:N/C:P/I:N/A:N

EPSS Score (Exploitation Probability)

2.33%LOW Exploitation Risk
84th percentile

This vulnerability has a 2.33% probability of being exploited in the next 30 days, ranking higher than 84% of all scored CVEs.

CWE Classification

Advertisement