Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') Affecting node-xmldom package, versions <0.8.3-1


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
2.12% (82nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-NODEXMLDOM-19498272
  • published2 Sept 2026
  • disclosed11 Oct 2022

Introduced: 11 Oct 2022

CVE-2022-37616  (opens in a new tab)
CWE-1321  (opens in a new tab)

How to fix?

Upgrade Echo:latest node-xmldom to version 0.8.3-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream node-xmldom package and not the node-xmldom package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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 Base Scores

version 3.1