An issue was discovered in HMRServer.js in Parcel parcel-bundler.
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and GitHub. Impact type from CWE-200.
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | parcel-bundler (npm) | before 1.10.0 | 1.10.0 | Patch available | GHSA-37q6-576q-vgr7 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- parcel-bundler (npm) Vendor— Affected before 1.10.0 Fixed in 1.10.0 Patch available GHSA-37q6-576q-vgr7
Remediation
- Fix · GHSA-37q6-576q-vgr7 parcel-bundler (npm) Fixed in 1.10.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2018-14731
- 2026-10-03 Alias added: GHSA-37q6-576q-vgr7
References
Exploit 2
Advisory 3
More Parceljs Parcel vulnerabilities
- TI-2025-35389 npm parcel 2.0.0-alpha and before has an Origin Validation Error vulnerability. CVSS 3.1MEDIUM 6.5
Sources
- CVE-2018-14731 · CVE Program
- CVE-2018-14731 · NVD
- FIRST EPSS
- GHSA-37q6-576q-vgr7 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences