{"id":"GHSA-77q4-m83q-w76v","summary":"Missing Origin Validation in browserify-hmr","details":"Versions of `browserify-hmr` prior to 0.4.0 are missing origin validation on the websocket server. \n\nThis 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.\n\n\n## Recommendation\n\nUpgrade to version 0.4.0 or later.","aliases":["CVE-2018-14730"],"modified":"2023-11-08T03:59:56.864154Z","published":"2020-09-01T21:18:20Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2020-08-31T18:33:33Z","nvd_published_at":null,"cwe_ids":["CWE-200"],"severity":"HIGH"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-14730"},{"type":"WEB","url":"https://github.com/AgentME/browserify-hmr/issues/41"},{"type":"WEB","url":"https://blog.cal1.cn/post/Sniffing%20Codes%20in%20Hot%20Module%20Reloading%20Messages"},{"type":"WEB","url":"https://blog.cal1.cn/post/Sniffing%20Codes%20in%20Hot%20Module%20Reloading%20Messages)"},{"type":"PACKAGE","url":"https://github.com/AgentME/browserify-hmr"},{"type":"WEB","url":"https://www.npmjs.com/advisories/726"}],"affected":[{"package":{"name":"browserify-hmr","ecosystem":"npm","purl":"pkg:npm/browserify-hmr"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.4.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-77q4-m83q-w76v/GHSA-77q4-m83q-w76v.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}