CVE-2022-37616
CRITICAL 9.8CVSS 3.1Withdrawn: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') in @xmldom/xmldom and xmldom
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."
- Published
- 11 Oct 2022
- Last modified
- 8 Jul 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-1321
- Also known as
- GHSA-9pgh-qqpf-7wqj
- Sources
- NVDJSONOSV GHSA-9pgh-qqpf-7wqjJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | xmldom_project | xmldomcpe:2.3:a:xmldom_project:xmldom:*:*:*:*:*:node.js:*:* |
<= 0.6.0 | |
| NVD | xmldom_project | xmldomcpe:2.3:a:xmldom_project:xmldom:*:*:*:*:*:node.js:*:* |
>= 0.7.0, < 0.7.6 | 0.7.6 |
| NVD | xmldom_project | xmldomcpe:2.3:a:xmldom_project:xmldom:*:*:*:*:*:node.js:*:* |
>= 0.8.0, < 0.8.3 | 0.8.3 |
| NVD | xmldom_project | xmldomcpe:2.3:a:xmldom_project:xmldom:0.9.0:beta1:*:*:*:node.js:*:* |
= 0.9.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| OSV | npm | @xmldom/xmldom | >= 0.8.0, < 0.8.3 | 0.8.3 |
| OSV | npm | xmldom | <= 0.6.0 | |
| OSV | npm | @xmldom/xmldom | >= 0.9.0-beta.1, < 0.9.0-beta.2 | 0.9.0-beta.2 |
| OSV | npm | @xmldom/xmldom | < 0.7.6 | 0.7.6 |
References
- http://users.encs.concordia.ca/~mmannan/publications/JS-vulnerability-aisaccs2022.pdf · Technical Description, Third Party Advisory, WEB
- https://dl.acm.org/doi/abs/10.1145/3488932.3497769 · Technical Description, Third Party Advisory, WEB
- https://dl.acm.org/doi/pdf/10.1145/3488932.3497769 · Third Party Advisory, WEB
- https://github.com/xmldom/xmldom/blob/bc36efddf9948aba15618f85dc1addfc2ac9d7b2/lib/dom.js#L1 · Patch, Third Party Advisory, WEB
- https://github.com/xmldom/xmldom/blob/bc36efddf9948aba15618f85dc1addfc2ac9d7b2/lib/dom.js#L3 · Patch, Third Party Advisory, WEB
- https://github.com/xmldom/xmldom/issues/436 · Issue Tracking, Patch, Third Party Advisory, WEB
- https://github.com/xmldom/xmldom/issues/436#issuecomment-1319412826 · Issue Tracking, Third Party Advisory, WEB
- https://github.com/xmldom/xmldom/issues/436#issuecomment-1327776560 · Issue Tracking, Third Party Advisory, WEB
- https://github.com/xmldom/xmldom/security/advisories/GHSA-9pgh-qqpf-7wqj · Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2022/10/msg00023.html · Mailing List, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-37616 · ADVISORY
- https://github.com/xmldom/xmldom/pull/437 · WEB
- https://github.com/xmldom/xmldom · PACKAGE
- https://github.com/xmldom/xmldom/blob/master/CHANGELOG.md#076 · WEB
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 11 Oct 2022)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 11 Oct 2022)