Skip to content
Heist/ feed
Back to feed
CriticalFix available

node-xmldom — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-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
node-xmldom
Affected versions
Not specified
Fixed versions
0.8.3-1
CVEs
CVE-2022-37616
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 14:58 UTC · Revision 1

Source evidence

DEBIAN-CVE-2022-37616

core-osv · Original source

Published 11 Oct 2022, 05:15 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:DEBIAN-CVE-2022-37616

node-xmldom

Fixed versions: 0.8.3-1

node-xmldom

Fixed versions: 0.8.3-1

node-xmldom

Fixed versions: 0.8.3-1

Complete source record
{
  "id": "4f7cb3e45c03b24bbccbf7b1968671d519437743e42587e60dcf0a84da667244",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2022-37616",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-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:DEBIAN-CVE-2022-37616",
    "products": [
      {
        "name": {
          "value": "node-xmldom",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.8.3-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "node-xmldom",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.8.3-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "node-xmldom",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.8.3-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "DEBIAN-CVE-2022-37616",
      "aliases": [
        "DEBIAN-CVE-2022-37616"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.8.3-1"
                }
              ]
            }
          ],
          "package": {
            "name": "node-xmldom",
            "purl": "pkg:deb/debian/node-xmldom?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-37616.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.8.3-1"
                }
              ]
            }
          ],
          "package": {
            "name": "node-xmldom",
            "purl": "pkg:deb/debian/node-xmldom?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-37616.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.8.3-1"
                }
              ]
            }
          ],
          "package": {
            "name": "node-xmldom",
            "purl": "pkg:deb/debian/node-xmldom?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-37616.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-15T08:02:40.945047424Z",
      "provider": "osv",
      "upstream": [
        "CVE-2022-37616"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2022-37616"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2022-37616",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 323954,
  "published_at": "2022-10-11T05:15:10.747+00:00"
}