agentme/browserify-hmr · Security
Missing Origin Validation in browserify-hmr
- GHSA ID
- GHSA-77q4-m83q-w76v
- CVE ID
- CVE-2018-14730
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CVSS v3
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Description
Versions of browserify-hmr prior to 0.4.0 are missing origin validation on the websocket server.
This vulnerability allows a remote attacker to steal a developer's source code because the origin of requests to the websocket server that is used for Hot Module Replacement (HMR) are not validated.
Recommendation
Upgrade to version 0.4.0 or later.
CWEs
- CWE-200 · Exposure of Sensitive Information to an Unauthorized Actor
References
- https://github.com/AgentME/browserify-hmr/issues/41 ↗
- https://blog.cal1.cn/post/Sniffing%20Codes%20in%20Hot%20Module%20Reloading%20Messages) ↗
- https://www.npmjs.com/advisories/726 ↗
- https://nvd.nist.gov/vuln/detail/CVE-2018-14730 ↗
- https://blog.cal1.cn/post/Sniffing%20Codes%20in%20Hot%20Module%20Reloading%20Messages ↗
- https://github.com/advisories/GHSA-77q4-m83q-w76v ↗