CVE-2018-14730 Missing Origin Validation in browserify-hmr
HighCVSS 7.5
EPSS 1.7%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm browserify-hmr(npm) | < 0.4.0 | 0.4.0 |
| browserify-hot module replacement project browserify-hot module replacement | All versions | No fix listed |
References
- github.com third-party-advisory
- blog.cal1.cn
- www.npmjs.com
- nvd.nist.gov third-party-advisory
- blog.cal1.cn exploit third-party-advisory
- github.com