{"schemaVersion":3,"id":"CVE-2022-37616","aliases":["UBUNTU-CVE-2022-37616","DEBIAN-CVE-2022-37616","DLA-3154-1","GHSA-9pgh-qqpf-7wqj"],"status":"published","duplicateOf":null,"title":null,"description":"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.\"","dates":{"published":"2022-10-11T00:00:00.000Z","modified":"2024-08-03T10:29:21.029Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.02119,"percentile":0.81697,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0.42200000000000015,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.01697},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01689,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01689,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01697,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01697,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01697,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01697,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01697,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01697,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01697,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01697,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01697,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01697,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01697,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01697,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01697,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01697,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01697,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01697,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01697,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01697,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01697,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01697,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01697,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01697,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02119,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02119,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02119,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02119,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02119,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02119,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02119,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02119,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02119,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02119,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02119,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02119,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02119,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.02119,"percentile":0.81697}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.01697,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01697,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01697,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01697,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01697,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01697,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01697,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01697,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01697,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01697,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01697,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01697,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01697,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01697,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01697,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01697,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01697,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02119,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02119,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02119,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02119,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02119,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02119,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02119,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02119,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02119,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02119,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02119,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02119,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02119,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.02119,"percentile":0.81697}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')","description":"The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype.","type":"weakness","status":"Incomplete","abstraction":"Variant","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/1321.html"}],"affected":[{"vendor":"debian","product":"node-xmldom","name":"node-xmldom","label":"node-xmldom","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/node-xmldom","purlType":"deb","versions":[{"text":"< 0.1.27+ds-1+deb10u1","noFixRecorded":false,"fixedIn":null},{"text":"< 0.8.3-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.1.27+ds-1+deb10u1 | < 0.8.3-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"node-xmldom","name":"node-xmldom","label":"node-xmldom","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/node-xmldom","purlType":"deb","versions":[{"text":"< 0.1.27+ds-1+deb10u2build0.20.04.1","noFixRecorded":false,"fixedIn":null},{"text":"< 0.7.5-1ubuntu0.22.04.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.1.27+ds-1+deb10u2build0.20.04.1 | < 0.7.5-1ubuntu0.22.04.1","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"10.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"10.0","eol":{"isEol":true,"eolDate":"2024-06-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"10","label":"10 (Buster)","eolFrom":"2024-06-30T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"10.13"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"Npm","product":"xmldom","name":"xmldom","label":"xmldom","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/xmldom","purlType":"npm","versions":[{"text":"≤ 0.6.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 0.6.0","eol":null,"hubHref":null},{"vendor":"@xmldom","product":"xmldom","name":"@xmldom/xmldom","label":"xmldom","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/@xmldom/xmldom","purlType":"npm","versions":[{"text":"≥ 0.8.0, < 0.8.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 0.9.0-beta.1, < 0.9.0-beta.2","noFixRecorded":false,"fixedIn":null},{"text":"< 0.7.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.8.0, < 0.8.3 | ≥ 0.9.0-beta.1, < 0.9.0-beta.2 | < 0.7.6","eol":null,"hubHref":null},{"vendor":"xmldom_project","product":"xmldom","name":"xmldom","label":"xmldom","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 0.6.0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 0.7.0, < 0.7.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 0.8.0, < 0.8.3","noFixRecorded":false,"fixedIn":null},{"text":"0.9.0:beta1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 0.6.0 | ≥ 0.7.0, < 0.7.6 | ≥ 0.8.0, < 0.8.3 | 0.9.0:beta1","eol":null,"hubHref":"/vendor/xmldom_project/xmldom"}],"affectedCount":6,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://github.com/xmldom/xmldom/blob/bc36efddf9948aba15618f85dc1addfc2ac9d7b2/lib/dom.js#L1","label":"github.com/xmldom/xmldom/blob/bc36efddf9948aba15618f85dc1addfc2ac9d7b2/lib/dom.js","hostname":"github.com","tags":["REPORT","WEB","Patch","Third Party Advisory"]},{"url":"https://github.com/xmldom/xmldom/blob/bc36efddf9948aba15618f85dc1addfc2ac9d7b2/lib/dom.js#L3","label":"github.com/xmldom/xmldom/blob/bc36efddf9948aba15618f85dc1addfc2ac9d7b2/lib/dom.js","hostname":"github.com","tags":["REPORT","WEB","Patch","Third Party Advisory"]},{"url":"https://github.com/xmldom/xmldom/issues/436","label":"github.com/xmldom/xmldom/issues/436","hostname":"github.com","tags":["WEB","Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://github.com/xmldom/xmldom/security/advisories/GHSA-9pgh-qqpf-7wqj","label":"github.com/xmldom/xmldom/security/advisories/GHSA-9pgh-qqpf-7wqj","hostname":"github.com","tags":["REPORT","WEB","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/10/msg00023.html","label":"lists.debian.org/debian-lts-announce/2022/10/msg00023.html","hostname":"lists.debian.org","tags":["Mailing List","WEB","Third Party Advisory"]},{"url":"https://dl.acm.org/doi/abs/10.1145/3488932.3497769","label":"dl.acm.org/doi/abs/10.1145/3488932.3497769","hostname":"dl.acm.org","tags":["WEB","Technical Description","Third Party Advisory"]},{"url":"https://dl.acm.org/doi/pdf/10.1145/3488932.3497769","label":"dl.acm.org/doi/pdf/10.1145/3488932.3497769","hostname":"dl.acm.org","tags":["WEB","Third Party Advisory"]},{"url":"http://users.encs.concordia.ca/~mmannan/publications/JS-vulnerability-aisaccs2022.pdf","label":"users.encs.concordia.ca/~mmannan/publications/JS-vulnerability-aisaccs2022.pdf","hostname":"users.encs.concordia.ca","tags":["WEB","Technical Description","Third Party Advisory"]},{"url":"https://github.com/xmldom/xmldom/issues/436#issuecomment-1319412826","label":"github.com/xmldom/xmldom/issues/436","hostname":"github.com","tags":["WEB","Issue Tracking","Third Party Advisory"]},{"url":"https://github.com/xmldom/xmldom/issues/436#issuecomment-1327776560","label":"github.com/xmldom/xmldom/issues/436","hostname":"github.com","tags":["WEB","Issue Tracking","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-37616","label":"ubuntu.com/security/CVE-2022-37616","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://github.com/xmldom/xmldom/pull/437","label":"github.com/xmldom/xmldom/pull/437","hostname":"github.com","tags":["REPORT","WEB"]},{"url":"https://ubuntu.com/security/notices/USN-6102-1","label":"ubuntu.com/security/notices/USN-6102-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-37616","label":"www.cve.org/CVERecord?id=CVE-2022-37616","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-37616","label":"security-tracker.debian.org/tracker/CVE-2022-37616","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-37616","label":"nvd.nist.gov/vuln/detail/CVE-2022-37616","hostname":"nvd.nist.gov","tags":["Advisory","Oval"]},{"url":"https://github.com/xmldom/xmldom","label":"github.com/xmldom/xmldom","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/xmldom/xmldom/blob/master/CHANGELOG.md#076","label":"github.com/xmldom/xmldom/blob/master/CHANGELOG.md","hostname":"github.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":["USN-6102-1"],"duplicates":[],"related":["USN-6102-1"]},"timeline":[{"kind":"published","date":"2022-10-11T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T10:29:21.029Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T22:02:17.209Z","stale":false,"partial":false}}