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."

Published: 2022-10-11 Last update: 2024-11-21 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2022-37616 is rated High Risk (66.8/100): CVSS Critical severity, with medium exploitation likelihood (EPSS 1.18%). Mandatory action: High exploitation likelihood—assess exposure and prioritize remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2022-37616

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-03-20 1.04% 1.18% +0.14%
2 2026-03-01 1.11% 1.04% -0.06%
3 2026-02-27 1.11%

Full EPSS history (19 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2022-37616

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
9.8 3.1 CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 5.9 [email protected]

Weakness enumeration for CVE-2022-37616

GitHub Security Advisory for CVE-2022-37616

GHSA-9pgh-qqpf-7wqj · Severity: critical · Ecosystem: npm — Withdrawn: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') in @xmldom/xmldom and xmldom

OS Trackers for CVE-2022-37616

vendor priority summary link
debian not yet assigned CVE-2022-37616 not yet assigned priority: Debian including 1 source packages (node-xmldom), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2022-37616
ubuntu medium CVE-2022-37616 medium priority: Ubuntu including 1 source packages (node-xmldom), 8 status rows across 8 suites (bionic, focal, jammy, kinetic, lunar, trusty, upstream, xenial): released 4, ignored 2, DNE 1, not-affected 1. https://ubuntu.com/security/CVE-2022-37616

Affected software / configurations for CVE-2022-37616

Vendor Product Version Raw CPE
xmldom_project xmldom <= 0.6.0 cpe:2.3:a:xmldom_project:xmldom:*:*:*:*:*:node.js:*:*
xmldom_project xmldom >= 0.7.0, < 0.7.6 cpe:2.3:a:xmldom_project:xmldom:*:*:*:*:*:node.js:*:*
xmldom_project xmldom >= 0.8.0, < 0.8.3 cpe:2.3:a:xmldom_project:xmldom:*:*:*:*:*:node.js:*:*
xmldom_project xmldom 0.9.0 cpe:2.3:a:xmldom_project:xmldom:0.9.0:beta1:*:*:*:node.js:*:*
debian debian_linux 10.0 cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*

References for CVE-2022-37616

URL Tags
http://users.encs.concordia.ca/~mmannan/publications/JS-vulnerability-aisaccs2022.pdf Technical Description Third Party Advisory
https://dl.acm.org/doi/abs/10.1145/3488932.3497769 Technical Description Third Party Advisory
https://dl.acm.org/doi/pdf/10.1145/3488932.3497769 Third Party Advisory
https://github.com/xmldom/xmldom/blob/bc36efddf9948aba15618f85dc1addfc2ac9d7b2/lib/dom.js#L1 Patch Third Party Advisory
https://github.com/xmldom/xmldom/blob/bc36efddf9948aba15618f85dc1addfc2ac9d7b2/lib/dom.js#L3 Patch Third Party Advisory
https://github.com/xmldom/xmldom/issues/436 Issue Tracking Patch Third Party Advisory
https://github.com/xmldom/xmldom/issues/436#issuecomment-1319412826 Issue Tracking Third Party Advisory
https://github.com/xmldom/xmldom/issues/436#issuecomment-1327776560 Issue Tracking Third Party Advisory
https://github.com/xmldom/xmldom/security/advisories/GHSA-9pgh-qqpf-7wqj Third Party Advisory
https://lists.debian.org/debian-lts-announce/2022/10/msg00023.html Mailing List Third Party Advisory
cvelogic Threat Intelligence