Prototype Pollution in Xmldom Project
CVE-2022-37616
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."
Vulnerability class: Prototype Pollution
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.021 (81.6th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 82nd percentile — 81.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.017 · newest: 0.021 · change: +0.004
Affected products
- Xmldom Project — versions 0.9.0
- Debian Linux — versions 10.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/xmldom/xmldom/blob/bc36efddf9948aba15618f85dc1addfc2ac9d7b2/lib/dom… (Patch, Third Party Advisory)
- github.com/xmldom/xmldom/blob/bc36efddf9948aba15618f85dc1addfc2ac9d7b2/lib/dom… (Patch, Third Party Advisory)
- github.com/xmldom/xmldom/issues/436 (Patch, Third Party Advisory, Issue Tracking)
- github.com/xmldom/xmldom/security/advisories/GHSA-9pgh-qqpf-7wqj (Third Party Advisory)
- lists.debian.org/debian-lts-announce/2022/10/msg00023.html (mailing-list, Mailing List, Third Party Advisory)
- dl.acm.org/doi/abs/10.1145/3488932.3497769 (Technical Description, Third Party Advisory)
- dl.acm.org/doi/pdf/10.1145/3488932.3497769 (Third Party Advisory)
- users.encs.concordia.ca/~mmannan/publications/JS-vulnerability-aisaccs2022.pdf (Technical Description, Third Party Advisory)
- github.com/xmldom/xmldom/issues/436 (Third Party Advisory, Issue Tracking)
- github.com/xmldom/xmldom/issues/436 (Third Party Advisory, Issue Tracking)
Frequently asked questions
- What is CVE-2022-37616?
- CVE-2022-37616 is a critical-severity vulnerability in Xmldom Project, classified under Improperly Controlled Modification of Object Prototype Attributes (Prototype Pollution). CVSS score: 9.8/10. Published 2022-10-11.
- How severe is CVE-2022-37616?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2022-37616 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.