What’s Vulnerable › Vulnerabilities

CVE-2022-37616

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

Affected products

How to fix

Upgrade to a fixed version: xmldom 0.7.6, 0.8.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-37616 or the next vulnerability affects your stack