CVE-2018-14730: Browserify-HMR - Origin Check Bypass
- Cve: CVE-2018-14730
- Name: Browserify-HMR - Origin Check Bypass
- Description: 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.
- Impact: Attackers can intercept HMR messages and steal developer's code, leading to intellectual property theft.
- Remediation: Implement proper origin verification in the WebSocket server to restrict access.
- Vulnerability type: misconfiguration
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Epss score: 0.01691
- Epss percentile: 0.77673
- Assignee: [email protected]
- Published at: 2018-09-21T17:29:04Z
- Age in days: 2986
- Modified at: 2026-06-17T01:41:31Z
- Public exploits total: 1
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-14730
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-200 | Exposure of Sensitive Information to an Unauthorized Actor |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://blog.cal1.cn/post/Sniffing%20Codes%20in%20Hot%20Module%20Reloading%20Messages | nvd | 2018-09-21 |
References
| Url | Source | Tags |
|---|---|---|
| https://blog.cal1.cn/post/Sniffing%20Codes%20in%20Hot%20Module%20Reloading%20Messages | nvd | Exploit, Third Party Advisory |
| https://github.com/AgentME/browserify-hmr/issues/41 | nvd | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| browserify-hot_module_replacement_project:browserify-hot_module_replacement | all versions | no | nvd | /v1/products/browserify-hot_module_replacement_project/browserify-hot_module_replacement |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| agentme/browserify-hmr | issues, package | yes | /v1/repositories/agentme/browserify-hmr |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2018-09-21
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts