{
  "id": "CVE-2026-34601",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-34601",
  "published_at": "2026-04-02T17:47:13.209Z",
  "title": "xmldom: XML injection via unsafe CDATA serialization allows attacker-controlled markup insertion",
  "vendor": "xmldom",
  "product": "xmldom",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) `DOMParser` and `XMLSerializer` module. In xmldom versions 0.6.0 and prior and @xmldom/xmldom prior to versions 0.8.12 and 0.9.9, xmldom/xmldom allows attacker-controlled strings containing the CDATA terminator ]]\u003e to be inserted into a CDATASection node. During serialization, XMLSerializer emitted the CDATA content verbatim without rejecting or safely splitting the terminator. As a result, data intended to remain text-only became active XML markup in the serialized output, enabling XML structure injection and downstream business-logic manipulation. This issue has been patched in xmldom version 0.6.0 and @xmldom/xmldom versions 0.8.12 and 0.9.9.",
  "cwe": "CWE-91",
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "xmldom",
        "product": "xmldom",
        "ranges": [
          "xmldom \u003c= 0.6.0",
          "@xmldom/xmldom \u003c 0.8.12",
          "@xmldom/xmldom \u003e= 0.9.0, \u003c 0.9.9"
        ],
        "fixed_in": [
          "0.8.12",
          "0.9.9"
        ]
      }
    ],
    "upgrade": [
      "Upgrade xmldom to 0.8.12 or 0.9.9 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/xmldom/xmldom/security/advisories/GHSA-wh4c-j3r5-mjhp"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/xmldom/xmldom/commit/2b852e836ab86dbbd6cbaf0537f584dd0b5ac184"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/xmldom/xmldom/releases/tag/0.8.12"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/xmldom/xmldom/releases/tag/0.9.9"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
