{"id":"CVE-2022-37616","details":"A prototype pollution vulnerability exists in the function copy in dom.js in the xmldom (published as @xmldom/xmldom) package before 0.8.3 for Node.js via the p variable. NOTE: the vendor states \"we are in the process of marking this report as invalid\"; however, some third parties takes the position that \"A prototype injection/Prototype pollution is not just when global objects are polluted with recursive merge or deep cloning but also when a target object is polluted.\"","aliases":["GHSA-9pgh-qqpf-7wqj"],"modified":"2026-08-12T03:51:35.212629266Z","published":"2022-10-11T00:00:00Z","database_specific":{"cna_assigner":"mitre","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/37xxx/CVE-2022-37616.json"},"references":[{"type":"WEB","url":"http://users.encs.concordia.ca/~mmannan/publications/JS-vulnerability-aisaccs2022.pdf"},{"type":"WEB","url":"https://dl.acm.org/doi/abs/10.1145/3488932.3497769"},{"type":"WEB","url":"https://dl.acm.org/doi/pdf/10.1145/3488932.3497769"},{"type":"WEB","url":"https://github.com/xmldom/xmldom/blob/bc36efddf9948aba15618f85dc1addfc2ac9d7b2/lib/dom.js#L1"},{"type":"WEB","url":"https://github.com/xmldom/xmldom/blob/bc36efddf9948aba15618f85dc1addfc2ac9d7b2/lib/dom.js#L3"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/37xxx/CVE-2022-37616.json"},{"type":"ADVISORY","url":"https://github.com/xmldom/xmldom/security/advisories/GHSA-9pgh-qqpf-7wqj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-37616"},{"type":"REPORT","url":"https://github.com/xmldom/xmldom/issues/436"},{"type":"REPORT","url":"https://github.com/xmldom/xmldom/issues/436#issuecomment-1319412826"},{"type":"REPORT","url":"https://github.com/xmldom/xmldom/issues/436#issuecomment-1327776560"},{"type":"ARTICLE","url":"https://lists.debian.org/debian-lts-announce/2022/10/msg00023.html"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/xmldom/xmldom","events":[{"introduced":"0"},{"last_affected":"c80a161172cc4d8733583bf0cf59abfa589f6d9e"},{"introduced":"c568938641cc1f121cef5b4df80fcfda1e489b6e"},{"fixed":"3ca016d7da634686dbcadd076dda07d28a8ffd45"},{"introduced":"01672e13958c1b0bff7e42784dbdb3de32566e98"},{"fixed":"c9df7a299aa2862780c7b6e308f0f0dbcffd0a8c"}],"database_specific":{"cpe":"cpe:2.3:a:xmldom_project:xmldom:*:*:*:*:*:node.js:*:*","extracted_events":[{"introduced":"0"},{"last_affected":"0.6.0"},{"introduced":"0.7.0"},{"fixed":"0.7.6"},{"introduced":"0.8.0"},{"fixed":"0.8.3"}],"source":"CPE_RANGE"}}],"versions":["0.7.5","0.8.2","0.8.1","0.8.0","0.7.4","0.7.3","0.7.2","0.7.1","0.7.0+scoped","v0.7.0","0.7.0+unscoped","0.7.0","0.6.0","0.5.0","0.4.0","0.3.0","0.2.1","0.2.0","v0.1.28-xmldom-alpha","v0.1.28-not-published","xmldom-aplha@v0.1.28","v0.1.27","0.1.27","0.1.26","0.1.25","0.1.24","0.1.23","0.1.22","0.1.21","0.1.20","0.1.19","0.1.18","0.1.17","0.1.2","0.1.1","0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-37616.json"}}],"schema_version":"1.9.0"}