cvedb.io
CVE-2018-14731
HIGH · CVSS 7.5
EPSS exploitation probability: 0%
Published 2018-09-21T17:29:05.140 · Last modified 2026-06-17T01:41:32.050

Summary

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.

Affected products

parceljs — parcel

Does this affect you?

Add your gear to cvedb and we'll alert you only when parceljs ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.