Junglewise Threat Intelligence

CVE-2022-37616: xmldom Prototype pollution in copy function

CVE-2022-37616 · Severity: low · CVSS 3.1 · Published 2022-10-11

Technologies: Xmldom @Xmldom/Xmldom, Xmldom.

Executive brief

xmldom is a JavaScript library for parsing and manipulating XML documents, commonly used in Node.js applications. A prototype pollution vulnerability in the copy function could allow attackers to modify core object properties, potentially affecting application behavior or security. However, this advisory has been withdrawn because maintainers and security researchers were unable to create a working exploit or validate the vulnerability's practical impact.

Technical details

A prototype pollution vulnerability was reported in the copy function of dom.js in the xmldom library (published as @xmldom/xmldom). The vulnerability, classified as CWE-1321, relates to improper control of object prototype attribute modification. However, the advisory was withdrawn on 2022-11-08 after the package maintainers and multiple third parties disputed the validity of the issue. Attempts to create or replicate a proof-of-concept were unsuccessful, and the original report is being marked as invalid. Patches were released for versions 0.7.6, 0.8.3, and 0.9.0-beta.2, but their necessity remains disputed.

Affected products

  • xmldom xmldom <=0.6.0
  • xmldom @xmldom/xmldom <0.7.6, >=0.8.0 <0.8.3, 0.9.0-beta.1

Timeline

  • 2022-10-11: disclosed: Advisory published
  • 2022-11-08: other: Advisory withdrawn; maintainers disputed validity and POC attempts failed

References