CVE-2022-37616
Withdrawn: 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."
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
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."
- Record
CVE-2022-37616- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-1321
- Updated
- 2026-11-02
CVE List No score
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."
- Record
CVE-2022-37616- Updated
- 2026-11-02
EUVDEUVD-2022-7067 No score
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."
- Record
EUVD-2022-7067- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-9pgh-qqpf-7wqj
9.8
Withdrawn: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') in @xmldom/xmldom and xmldom
Withdrawn
This advisory has been withdrawn because the maintainers of @xmldom/xmldom and multiple third parties disputed the validity of the issue. Attempts to create or replicate a proof of concept have been unsuccessful.
Original Description
Impact
A prototype pollution vulnerability exists in the function copy in dom.js in the xmldom (published as @xmldom/xmldom) package.
Patches
Update to @xmldom/xmldom@~0.7.6, @xmldom/xmldom@~0.8.3 (dist-tag latest) or @xmldom/xmldom@>=0.9.0-beta.2 (dist-tag next).
Workarounds
None
References
https://github.com/xmldom/xmldom/pull/437
For more information
If you have any questions or comments about this advisory:
- Email us at [email protected]
- Add information to https://github.com/xmldom/xmldom/issues/436
- Record
GHSA-9pgh-qqpf-7wqj- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-1321
- Updated
- 2026-11-02
OSVAZL-38290
9.8
CVE-2022-37616 affecting package python-tensorboard for versions less than 2.16.2-1
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."
- Record
AZL-38290- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2022-37616
9.8
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."
- Record
DEBIAN-CVE-2022-37616- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
Show 4 moreShow less
OSVGHSA-9pgh-qqpf-7wqj
9.8
Withdrawn: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') in @xmldom/xmldom and xmldom
Withdrawn
This advisory has been withdrawn because the maintainers of @xmldom/xmldom and multiple third parties disputed the validity of the issue. Attempts to create or replicate a proof of concept have been unsuccessful.
Original Description
Impact
A prototype pollution vulnerability exists in the function copy in dom.js in the xmldom (published as @xmldom/xmldom) package.
Patches
Update to @xmldom/xmldom@~0.7.6, @xmldom/xmldom@~0.8.3 (dist-tag latest) or @xmldom/xmldom@>=0.9.0-beta.2 (dist-tag next).
Workarounds
None
References
https://github.com/xmldom/xmldom/pull/437
For more information
If you have any questions or comments about this advisory:
- Email us at [email protected]
- Add information to https://github.com/xmldom/xmldom/issues/436
- Record
GHSA-9pgh-qqpf-7wqj- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-1321
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2022-37616
9.8
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."
- Record
UBUNTU-CVE-2022-37616- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSV No score
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."
- Record
CVE-2022-37616- Updated
- 2026-11-02
OSVUSN-6102-1 No score
node-xmldom vulnerabilities
It was discovered that xmldom incorrectly handled certain inputs. If a user or an automated system were tricked into opening a specially crafted input file, a remote attacker could possibly use this issue to cause unexpected syntactic changes during XML processing. This issue only affected Ubuntu 20.04 LTS. (CVE-2021-21366)
It was discovered that xmldom incorrectly handled certain inputs. If a user or an automated system were tricked into opening a specially crafted input file, a remote attacker could possibly use this issue to cause a denial of service. (CVE-2022-37616, CVE-2022-39353)
- Record
USN-6102-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
python-tensorboardAzure Linux:3 |
before 2.16.2-1 | 2.16.2-1 |
node-xmldomDebian:12 |
before 0.8.3-1 | 0.8.3-1 |
node-xmldomDebian:13 |
before 0.8.3-1 | 0.8.3-1 |
node-xmldomDebian:14 |
before 0.8.3-1 | 0.8.3-1 |
node-xmldomDebian:10 |
before 0.1.27+ds-1+deb10u1, plus listed versions 0.1.27+ds-1 |
0.1.27+ds-1+deb10u1 |
node-xmldomUbuntu:20.04:LTS |
before 0.1.27+ds-1+deb10u2build0.20.04.1, plus listed versions 0.1.27+ds-1 |
0.1.27+ds-1+deb10u2build0.20.04.1 |
node-xmldomUbuntu:22.04:LTS |
before 0.7.5-1ubuntu0.22.04.1, plus listed versions 0.5.0-10.7.3-10.7.5-1 |
0.7.5-1ubuntu0.22.04.1 |
node-xmldomUbuntu:20.04:LTS From an advisory covering 3 CVEs |
before 0.1.27+ds-1+deb10u2build0.20.04.1, plus listed versions 0.1.27+ds-1 |
0.1.27+ds-1+deb10u2build0.20.04.1 |
node-xmldomUbuntu:22.04:LTS From an advisory covering 3 CVEs |
before 0.7.5-1ubuntu0.22.04.1, plus listed versions 0.5.0-10.7.3-10.7.5-1 |
0.7.5-1ubuntu0.22.04.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | OSV | |
| affected | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-37616 is a critical vulnerability (CVSS 9.8) in Xmldom Project Xmldom, published October 11, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.13%, the 82nd percentile. Fixed in python-tensorboard 2.16.2-1.
References
github.com/xmldom/xmldom/blob/bc36efddf9948aba15618f85dc1addfc2ac9d7b2/lib/dom.js
github.com/xmldom/xmldom/issues/436
github.com/xmldom/xmldom/security/advisories/GHSA-9pgh-qqpf-7wqj
lists.debian.org/debian-lts-announce/2022/10/msg00023.html
dl.acm.org/doi/abs/10.1145/3488932.3497769
dl.acm.org/doi/pdf/10.1145/3488932.3497769
Show 13 moreShow less
users.encs.concordia.ca/~mmannan/publications/JS-vulnerability-aisaccs2022.pdf
nvd.nist.gov/vuln/detail/CVE-2022-37616
github.com/xmldom/xmldom/pull/437
github.com/xmldom/xmldom/blob/master/CHANGELOG.md
github.com/advisories/GHSA-9pgh-qqpf-7wqj
github.com/CVEProject/cvelistV5/tree/main/cves/2022/37xxx/CVE-2022-37616.json
security-tracker.debian.org/tracker/CVE-2022-37616
github.com/xmldom/xmldom
ubuntu.com/security/CVE-2022-37616
ubuntu.com/security/notices/USN-6102-1
cve.org/CVERecord?id=CVE-2022-37616
ubuntu.com/security/CVE-2021-21366
ubuntu.com/security/CVE-2022-39353