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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.69%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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."
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 1.69% probability · 76th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-1321
- Affected
- xmldom project/xmldom · debian/debian linux
- Source
- cve@mitre.org
References
- http://users.encs.concordia.ca/~mmannan/publications/JS-vulnerability-aisaccs2022.pdfTechnical Description, Third Party Advisory
- https://dl.acm.org/doi/abs/10.1145/3488932.3497769Technical Description, Third Party Advisory
- https://dl.acm.org/doi/pdf/10.1145/3488932.3497769Third Party Advisory
- https://github.com/xmldom/xmldom/blob/bc36efddf9948aba15618f85dc1addfc2ac9d7b2/lib/dom.js#L1Patch, Third Party Advisory
- https://github.com/xmldom/xmldom/blob/bc36efddf9948aba15618f85dc1addfc2ac9d7b2/lib/dom.js#L3Patch, Third Party Advisory
- https://github.com/xmldom/xmldom/issues/436Issue Tracking, Patch, Third Party Advisory
- https://github.com/xmldom/xmldom/issues/436#issuecomment-1319412826Issue Tracking, Third Party Advisory
- https://github.com/xmldom/xmldom/issues/436#issuecomment-1327776560Issue Tracking, Third Party Advisory
- https://github.com/xmldom/xmldom/security/advisories/GHSA-9pgh-qqpf-7wqjThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/10/msg00023.htmlMailing List, Third Party Advisory
- http://users.encs.concordia.ca/~mmannan/publications/JS-vulnerability-aisaccs2022.pdfTechnical Description, Third Party Advisory
- https://dl.acm.org/doi/abs/10.1145/3488932.3497769Technical Description, Third Party Advisory
- https://dl.acm.org/doi/pdf/10.1145/3488932.3497769Third Party Advisory
- https://github.com/xmldom/xmldom/blob/bc36efddf9948aba15618f85dc1addfc2ac9d7b2/lib/dom.js#L1Patch, Third Party Advisory
- https://github.com/xmldom/xmldom/blob/bc36efddf9948aba15618f85dc1addfc2ac9d7b2/lib/dom.js#L3Patch, Third Party Advisory
- https://github.com/xmldom/xmldom/issues/436Issue Tracking, Patch, Third Party Advisory
- https://github.com/xmldom/xmldom/issues/436#issuecomment-1319412826Issue Tracking, Third Party Advisory
- https://github.com/xmldom/xmldom/issues/436#issuecomment-1327776560Issue Tracking, Third Party Advisory
- https://github.com/xmldom/xmldom/security/advisories/GHSA-9pgh-qqpf-7wqjThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/10/msg00023.htmlMailing List, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.