{"id":"GHSA-cf66-xwfp-gvc4","summary":"Missing Origin Validation in webpack-dev-server","details":"Versions of `webpack-dev-server` before 3.1.10 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.\n\n\n## Recommendation\nFor `webpack-dev-server` update to version 3.1.11 or later.","aliases":["CVE-2018-14732"],"modified":"2023-11-01T04:49:01.486243Z","published":"2019-01-04T17:40:59Z","database_specific":{"cwe_ids":["CWE-20"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2020-06-16T21:31:15Z","nvd_published_at":null},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-14732"},{"type":"WEB","url":"https://github.com/webpack/webpack-dev-server/issues/1445"},{"type":"WEB","url":"https://github.com/webpack/webpack-dev-server/issues/1620"},{"type":"WEB","url":"https://github.com/webpack/webpack-dev-server/commit/f18e5adf123221a1015be63e1ca2491ca45b8d10"},{"type":"PACKAGE","url":"https://github.com/webpack/webpack-dev-server"},{"type":"WEB","url":"https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md#3111-2018-12-21"},{"type":"WEB","url":"https://www.npmjs.com/advisories/725"}],"affected":[{"package":{"name":"webpack-dev-server","ecosystem":"npm","purl":"pkg:npm/webpack-dev-server"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.1.11"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/01/GHSA-cf66-xwfp-gvc4/GHSA-cf66-xwfp-gvc4.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}