Versions of parcel-bundler
before 1.10.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.
Update to version 1.10.0 or later.
CPE | Name | Operator | Version |
---|---|---|---|
parcel-bundler | lt | 1.10.0 |
blog.cal1.cn/post/Sniffing%20Codes%20in%20Hot%20Module%20Reloading%20Messages
blog.cal1.cn/post/Sniffing%20Codes%20in%20Hot%20Module%20Reloading%20Messages)
github.com/advisories/GHSA-37q6-576q-vgr7
github.com/parcel-bundler/parcel
github.com/parcel-bundler/parcel/commit/066e0bf6bd26b15c78bd47df023452e4b20073e4
github.com/parcel-bundler/parcel/issues/1783
github.com/parcel-bundler/parcel/pull/1794
nvd.nist.gov/vuln/detail/CVE-2018-14731
www.npmjs.com/advisories/721