{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0.9.0"
              },
              {
                "fixed": "0.9.12"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "8c7c7afe89027641aa59c101d20eefedc0f54c6f"
            },
            {
              "fixed": "7b2ec67e1750daadd0bb06c92e875e726544a362"
            },
            {
              "fixed": "0af8cf829d8a92bbac612903422c6947f5458f06"
            }
          ],
          "repo": "https://github.com/xmldom/xmldom",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-3px3-54cx-rmw9"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-625",
      "CWE-91"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/83xxx/CVE-2026-83609.json"
  },
  "details": "xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. From 0.9.0 until 0.9.12, the shared reg() builder in lib/grammar.js compiles the anchored QName_exact validator with the multiline flag, so ^ and $ validate only one line instead of the complete name. createElementNS, createAttributeNS, createDocumentType, and createAttribute consequently accept a malformed XML name whose first line is valid and whose later text injects markup when serialized through either the default path or requireWellFormed: true. The triggering ECMAScript line terminators are U+000A, U+000D, U+2028, and U+2029. This issue is fixed in @xmldom/xmldom version 0.9.12.",
  "id": "CVE-2026-83609",
  "modified": "2026-09-03T03:30:31.419272704Z",
  "published": "2026-09-01T14:29:40.475Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/xmldom/xmldom/releases/tag/0.9.12"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/83xxx/CVE-2026-83609.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/xmldom/xmldom/security/advisories/GHSA-3px3-54cx-rmw9"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-83609"
    },
    {
      "type": "FIX",
      "url": "https://github.com/xmldom/xmldom/commit/7b2ec67e1750daadd0bb06c92e875e726544a362"
    },
    {
      "type": "FIX",
      "url": "https://github.com/xmldom/xmldom/pull/1071"
    }
  ],
  "schema_version": "1.9.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: Creation-time XML Name/QName validation is bypassable via an embedded line terminator, allowing injection on the default serialization path"
}