Skip to content
Heist/ feed
Back to feed
Unrated

Security advisory

Type: advisorySources: OSVCVE: 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."

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-37616
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 17:03 UTC · Revision 1

Source evidence

CVE-2022-37616

core-osv · Original source

Published 11 Oct 2022, 00:00 UTC

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

osv:CVE-2022-37616
Complete source record
{
  "id": "4a2401ad0ff2a791ac7f7a9fcc52a157b29e7457feca86817db2221e28200ea9",
  "url": "https://osv.dev/vulnerability/CVE-2022-37616",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2022-37616",
    "summary": "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.\"",
    "evidence": "osv:CVE-2022-37616",
    "products": [],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2022-37616",
      "aliases": [
        "CVE-2022-37616",
        "GHSA-9pgh-qqpf-7wqj"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/xmldom/xmldom",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "c80a161172cc4d8733583bf0cf59abfa589f6d9e"
                },
                {
                  "introduced": "c568938641cc1f121cef5b4df80fcfda1e489b6e"
                },
                {
                  "fixed": "3ca016d7da634686dbcadd076dda07d28a8ffd45"
                },
                {
                  "introduced": "01672e13958c1b0bff7e42784dbdb3de32566e98"
                },
                {
                  "fixed": "c9df7a299aa2862780c7b6e308f0f0dbcffd0a8c"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:xmldom_project:xmldom:*:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "0.6.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:xmldom_project:xmldom:*:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "0.7.0"
                      },
                      {
                        "fixed": "0.7.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:xmldom_project:xmldom:*:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "0.8.0"
                      },
                      {
                        "fixed": "0.8.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.7.5",
            "0.8.2",
            "0.8.1",
            "0.8.0",
            "0.7.4",
            "0.7.3",
            "0.7.2",
            "0.7.1",
            "0.7.0+scoped",
            "v0.7.0",
            "0.7.0+unscoped",
            "0.7.0",
            "0.6.0",
            "0.5.0",
            "0.4.0",
            "0.3.0",
            "0.2.1",
            "0.2.0",
            "v0.1.28-xmldom-alpha",
            "v0.1.28-not-published",
            "xmldom-aplha@v0.1.28",
            "v0.1.27",
            "0.1.27",
            "0.1.26",
            "0.1.25",
            "0.1.24",
            "0.1.23",
            "0.1.22",
            "0.1.21",
            "0.1.20",
            "0.1.19",
            "0.1.18",
            "0.1.17",
            "0.1.2",
            "0.1.1",
            "0.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-37616.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:38.150040627Z",
      "provider": "osv",
      "references": [
        "https://dl.acm.org/doi/abs/10.1145/3488932.3497769",
        "https://dl.acm.org/doi/pdf/10.1145/3488932.3497769",
        "https://github.com/xmldom/xmldom/blob/bc36efddf9948aba15618f85dc1addfc2ac9d7b2/lib/dom.js#L1",
        "https://github.com/xmldom/xmldom/blob/bc36efddf9948aba15618f85dc1addfc2ac9d7b2/lib/dom.js#L3",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/37xxx/CVE-2022-37616.json",
        "https://github.com/xmldom/xmldom/security/advisories/GHSA-9pgh-qqpf-7wqj",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-37616",
        "https://github.com/xmldom/xmldom/issues/436",
        "https://github.com/xmldom/xmldom/issues/436#issuecomment-1319412826",
        "https://github.com/xmldom/xmldom/issues/436#issuecomment-1327776560",
        "https://lists.debian.org/debian-lts-announce/2022/10/msg00023.html"
      ],
      "provider_metadata": {
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/37xxx/CVE-2022-37616.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-37616",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 505122,
  "published_at": "2022-10-11T00:00:00+00:00"
}