CVE-2022-37616
Last modified
CVE-2022-37616 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.". EPSS estimates a 1.54% chance of exploitation in the next 30 days.
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."
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Xmldom Project | Xmldom | <= 0.6.0 | — |
| Xmldom Project | Xmldom | >= 0.7.0, < 0.7.6 | — |
| Xmldom Project | Xmldom | >= 0.8.0, < 0.8.3 | — |
| Xmldom Project | Xmldom | 0.9.0 | Beta1 |
| Debian | Debian Linux | 10.0 | — |
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
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-37616?
How severe is CVE-2022-37616?
How do I fix CVE-2022-37616?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-37602Prototype pollution vulnerability in karma-runner grunt-karm…9.8
- CVE-2022-37603A Regular expression denial of service (ReDoS) flaw was foun…7.5
- CVE-2022-37609Prototype pollution vulnerability in beautify-web js-beautif…9.8
- CVE-2022-3761OpenVPN Connect versions before 3.4.0.4506 (macOS) and OpenV…5.9
- CVE-2022-37611Prototype pollution vulnerability in tschaub gh-pages 3.1.0 …9.8
- CVE-2022-37614Prototype pollution vulnerability in function enable in mock…9.8
- CVE-2022-37617Prototype pollution vulnerability in function resolveShims i…9.8
- CVE-2022-3762The Booster for WooCommerce WordPress plugin before 5.6.7, B…6.5
- CVE-2022-37620A Regular Expression Denial of Service (ReDoS) flaw was foun…7.5
- CVE-2022-37621Prototype pollution vulnerability in function resolveShims i…9.8
- CVE-2022-37623Prototype pollution vulnerability in function resolveShims i…9.8
- CVE-2022-3763The Booster for WooCommerce WordPress plugin before 5.6.7, B…8.1
Are you affected by CVE-2022-37616?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
