{"id":"CVE-2018-14730","published":"2018-09-21T17:00:00Z","modified":"2024-08-05T09:38:13Z","title":"An issue was discovered in Browserify-HMR","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01691,"percentile":0.77641,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/AgentME/browserify-hmr/issues/41","tags":["x_refsource_MISC"]},{"url":"https://blog.cal1.cn/post/Sniffing%20Codes%20in%20Hot%20Module%20Reloading%20Messages","tags":["x_refsource_MISC"]}],"priority":{"score":15.5,"factors":[{"name":"EPSS percentile","points":15.53}]},"affected":[{"ecosystem":"npm","package":"browserify-hmr","vulnerableRanges":["<0.4.0"],"patched":["0.4.0"],"from":["GHSA-77q4-m83q-w76v"],"provenance":"source"}],"summary":{"text":"Browserify-HMR, the Hot Module Replacement feature, has a WebSocket server that does not check the origin of incoming connections. An attacker who can get a victim's browser to open a connection to the local ws://127.0.0.1:3123/ endpoint from a malicious page can receive HMR messages and steal the developer's code.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:41:19Z"},"euvd":{"id":"EUVD-2020-0849","exploited":false,"provenance":"source"}}