CVE-2018-14730
HIGH 7.5CVSS 3.1Missing Origin Validation in browserify-hmr
An issue was discovered in Browserify-HMR. 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:3123/ connection from any origin.
- Published
- 21 Sep 2018
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-200
- Also known as
- GHSA-77q4-m83q-w76v
- Sources
- NVDJSONOSV GHSA-77q4-m83q-w76vJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | browserify-hot_module_replacement_project | browserify-hot_module_replacementcpe:2.3:a:browserify-hot_module_replacement_project:browserify-hot_module_replacement:-:*:*:*:*:browserify:*:* |
(no version) | |
| OSV | npm | browserify-hmr | < 0.4.0 | 0.4.0 |
References
- https://blog.cal1.cn/post/Sniffing%20Codes%20in%20Hot%20Module%20Reloading%20Messages · Exploit, Third Party Advisory, WEB
- https://github.com/AgentME/browserify-hmr/issues/41 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-14730 · ADVISORY
- https://blog.cal1.cn/post/Sniffing%20Codes%20in%20Hot%20Module%20Reloading%20Messages) · WEB
- https://github.com/AgentME/browserify-hmr · PACKAGE
- https://www.npmjs.com/advisories/726 · WEB
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 21 Sep 2018)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 1 Sep 2020)