Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. parcel
  4. ›
  5. CVE-2018-14731

CVE-2018-14731: Information Exposure

September 21, 2018 (updated November 27, 2018)

An issue was discovered in HMRServer.js in Parcel. 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:// connection (with a random TCP port number) from any origin.

References

  • github.com/parcel-bundler/parcel/issues/1783
  • github.com/parcel-bundler/parcel/pull/1794
  • nvd.nist.gov/vuln/detail/CVE-2018-14731

Code Behaviors & Features

Detect and mitigate CVE-2018-14731 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.10.0

Fixed versions

  • 1.10.0

Solution

Upgrade to version 1.10.0 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor

Source file

npm/parcel/CVE-2018-14731.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:51 +0000.