{"id":"CVE-2026-83605","title":"xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module","summary":"xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. Prior to @xmldom/xmldom versions 0.8.14 and 0.9.11, and in xmldom version 0.6.0 and earlier, Element.setAttribute() calls the priva…","severity":"high","cwe":["CWE-91","CWE-79"],"vendor":"xmldom","product":"@xmldom/xmldom","affected":["@xmldom/xmldom >= 0.9.0, <= 0.9.10","@xmldom/xmldom >= 0.7.0, <= 0.8.13","xmldom <= 0.6.0"],"patched":["@xmldom/xmldom 0.9.11","@xmldom/xmldom 0.8.14"],"published":"2026-09-01","updated":"2026-09-08","sourceUpdated":"2026-09-08T21:11:31.703","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-83605","references":[{"url":"https://github.com/xmldom/xmldom/commit/cba1321218b069182695813fa7565653708e172e","label":"security-advisories@github.com"},{"url":"https://github.com/xmldom/xmldom/commit/d8212e632507eaf1d9f609657dd4c56abeb12d44","label":"security-advisories@github.com"},{"url":"https://github.com/xmldom/xmldom/pull/1043","label":"security-advisories@github.com"},{"url":"https://github.com/xmldom/xmldom/pull/1050","label":"security-advisories@github.com"},{"url":"https://github.com/xmldom/xmldom/releases/tag/0.8.14","label":"security-advisories@github.com"},{"url":"https://github.com/xmldom/xmldom/releases/tag/0.9.11","label":"security-advisories@github.com"},{"url":"https://github.com/xmldom/xmldom/security/advisories/GHSA-4w3w-2rp5-g8jm","label":"security-advisories@github.com"},{"url":"https://github.com/xmldom/xmldom/security/advisories/GHSA-4w3w-2rp5-g8jm","label":"134c704f-9b21-4f2e-91b3-4a467353bcc0"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-83605"},{"url":"https://github.com/advisories/GHSA-4w3w-2rp5-g8jm"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-83605.json"},{"url":"https://access.redhat.com/security/cve/CVE-2026-83605"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2526811"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-83605"},{"url":"https://access.redhat.com/errata/RHSA-2026:69248"}],"tags":["nvd","ghsa","npm","csaf","vex","red-hat"],"epss":0.00348,"epssPercentile":0.28369,"aliases":["GHSA-4w3w-2rp5-g8jm"],"ecosystem":"npm","ingestedAt":"2026-09-08T21:11:12.322Z","cvss":8.1,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","cvssSource":"vendor","slug":"CVE-2026-83605","body":"## Overview\n\nxmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. Prior to @xmldom/xmldom versions 0.8.14 and 0.9.11, and in xmldom version 0.6.0 and earlier, Element.setAttribute() calls the private _createAttribute(name) path without validating the attribute name, while Document.createAttribute(name) validates against QName. XMLSerializer.serializeToString() emits attribute names verbatim, and requireWellFormed: true did not validate them, so a crafted name can terminate the intended attribute and inject additional attributes, including event handlers, into browser-consumed output; synthesized xmlns:PREFIX declarations expose the same unchecked-name boundary. This issue is fixed in @xmldom/xmldom versions 0.8.14 and 0.9.11; no fixed version is available for xmldom.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Package advisory (CVE-2026-83605)\n\nAffected packages:\n\n- `@xmldom/xmldom >= 0.9.0, <= 0.9.10`\n- `@xmldom/xmldom >= 0.7.0, <= 0.8.13`\n- `xmldom <= 0.6.0`\n\nPatched in:\n\n- `@xmldom/xmldom 0.9.11`\n- `@xmldom/xmldom 0.8.14`\n\nSource: https://github.com/advisories/GHSA-4w3w-2rp5-g8jm\n\n## Vendor advisories\n\n- **RHSA-2026:69248** · Red Hat · fixed in: Red Hat Developer Hub 1.9 · released 2026-09-21 · [advisory](https://access.redhat.com/errata/RHSA-2026:69248)\n- **Red Hat VEX** · Important · affected: Red Hat Build of Podman Desktop, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 9, Red Hat Fuse 7, Red Hat OpenShift AI (RHOAI), Red Hat OpenShift Container Platform 4 · no fix planned: Red Hat Fuse 7, Red Hat Build of Podman Desktop, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 9, … · updated 2026-09-21 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-83605.json)","depth":"twilight","depthScore":45,"depthScoreParts":{"impact":44.6,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[{"seq":208470,"id":"CVE-2026-83605","ts":1790005710935,"field":"cvss","old":null,"new":"8.1"}]}