{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "xmldom \u003c= 0.6.0"
              },
              {
                "last_affected": "xmldom \u003c= 0.6.0"
              },
              {
                "introduced": "@xmldom/xmldom \u003c 0.8.13"
              },
              {
                "last_affected": "@xmldom/xmldom \u003c 0.8.13"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "c80a161172cc4d8733583bf0cf59abfa589f6d9e"
            },
            {
              "fixed": "7207a4b0e0bcc228868075ed991665ef9f73b1c2"
            },
            {
              "fixed": "e5c14802592685bb872c042c54c3f73758875c85"
            },
            {
              "fixed": "bf396a575c4dd32ce4bd925b849dcb7e778d957c"
            }
          ],
          "repo": "https://github.com/xmldom/xmldom",
          "type": "GIT"
        }
      ],
      "versions": [
        "@xmldom/xmldom \u003c 0.8.13",
        "xmldom \u003c= 0.6.0"
      ]
    }
  ],
  "aliases": [
    "GHSA-x6wf-f3px-wcqx"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-91"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41675.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "@xmldom/xmldom \u003e= 0.9.0, \u003c 0.9.10"
          },
          {
            "last_affected": "@xmldom/xmldom \u003e= 0.9.0, \u003c 0.9.10"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) `DOMParser` and `XMLSerializer` module. In @xmldom/xmldom prior to versions 0.9.10 and 0.8.13 and xmldom version 0.6.0 and prior, the package allows attacker-controlled processing instruction data to be serialized into XML without validating or neutralizing the PI-closing sequence ?\u003e. As a result, an attacker can terminate the processing instruction early and inject arbitrary XML nodes into the serialized output. This issue has been patched in versions @xmldom/xmldom versions 0.9.10 and 0.8.13.",
  "id": "CVE-2026-41675",
  "modified": "2026-07-16T03:30:48.942456072Z",
  "published": "2026-05-07T03:49:34.056Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/xmldom/xmldom/releases/tag/0.8.13"
    },
    {
      "type": "WEB",
      "url": "https://github.com/xmldom/xmldom/releases/tag/0.9.10"
    },
    {
      "type": "WEB",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41675.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:26234"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/security/cve/CVE-2026-41675"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41675.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/xmldom/xmldom/security/advisories/GHSA-x6wf-f3px-wcqx"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-41675"
    },
    {
      "type": "REPORT",
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2467629"
    },
    {
      "type": "FIX",
      "url": "https://github.com/xmldom/xmldom/commit/7207a4b0e0bcc228868075ed991665ef9f73b1c2"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "xmldom: XML node injection through unvalidated processing instruction serialization"
}