{"id":"CVE-2026-83613","published":"2026-09-01T14:38:49Z","modified":"2026-09-04T01:57:57Z","title":"xmldom: Quadratic-time attribute deduplication","vendor":"xmldom","product":"xmldom","tier":"tail","description":{"text":"xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. Prior to @xmldom/xmldom versions 0.8.15 and 0.9.12, and in xmldom version 0.6.0 and earlier, DOMHandler.startElement in lib/dom-parser.js inserts every parsed attribute through setAttributeNode, while NamedNodeMap.setNamedItem in lib/dom.js calls the linear getNamedItem or getNamedItemNS lookup for each insertion. A well-formed element with many distinct attributes therefore requires quadratic comparisons during DOMParser.parseFromString() and can stall a Node.js event loop before application validation. This issue is fixed in @xmldom/xmldom versions 0.8.15 and 0.9.12; no fixed version is available for xmldom.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00604,"percentile":0.49836,"provenance":"source"},"cwes":[{"id":"CWE-407","name":"Inefficient Algorithmic Complexity"}],"references":[{"url":"https://github.com/xmldom/xmldom/security/advisories/GHSA-8344-3jmq-59r6","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/xmldom/xmldom/pull/1071","tags":["x_refsource_MISC"]},{"url":"https://github.com/xmldom/xmldom/pull/1072","tags":["x_refsource_MISC"]},{"url":"https://github.com/xmldom/xmldom/commit/2c548f200cfec991cd5846627ef8f03542309213","tags":["x_refsource_MISC"]},{"url":"https://github.com/xmldom/xmldom/commit/cfb09b5dbeb035fdfedc9f01e2bbaf226bf47cf3","tags":["x_refsource_MISC"]},{"url":"https://github.com/xmldom/xmldom/releases/tag/0.8.15","tags":["x_refsource_MISC"]},{"url":"https://github.com/xmldom/xmldom/releases/tag/0.9.12","tags":["x_refsource_MISC"]},{"url":"https://github.com/xmldom/xmldom/security/advisories/GHSA-27p8-2357-5qqv","tags":["exploit"]}],"priority":{"score":21.1,"factors":[{"name":"EPSS percentile","points":9.97},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"xmldom","affectedVersions":[{"vendor":"xmldom","product":"xmldom","versions":["<= 0.6.0"]},{"vendor":"@xmldom","product":"xmldom","versions":[">= 0.9.0, < 0.9.12",">= 0.7.0, < 0.8.15"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-09-04T01:57:19.969055Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@xmldom/xmldom","vulnerableRanges":[">=0.7.0, <0.8.15",">=0.9.0, <0.9.12"],"patched":["0.8.15","0.9.12"],"from":["GHSA-8344-3jmq-59r6"],"provenance":"source"},{"ecosystem":"npm","package":"xmldom","vulnerableRanges":["<=0.6.0"],"patched":[],"from":["GHSA-8344-3jmq-59r6"],"provenance":"source"}],"summary":{"text":"xmldom's DOMHandler.startElement in lib/dom-parser.js inserts each parsed attribute through setAttributeNode, and NamedNodeMap.setNamedItem in lib/dom.js performs a linear lookup for every insertion, so the parser's handling of elements with many attributes scales poorly. An attacker who can supply a single well-formed XML document over the network, with no authentication or user interaction required, can cause DOMParser.parseFromString() to take quadratic time on an element with many distinct attributes, stalling the Node.js event loop before application-level validation runs.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:08:28Z"},"euvd":{"id":"EUVD-2026-69231","exploited":false,"provenance":"source"},"exploitRefs":["https://github.com/xmldom/xmldom/security/advisories/GHSA-27p8-2357-5qqv"],"lineage":{"familyId":"fam-xmldom-cve-2021-21366","parents":[{"from":"CVE-2026-83608","to":"CVE-2026-83613","relation":"related","confidence":"high","kind":"lineage","evidence":[{"kind":"osv-related","provenance":"source","id":"GHSA-27p8-2357-5qqv","via":"related"},{"kind":"osv-related","provenance":"source","id":"GHSA-8344-3jmq-59r6","via":"reference","url":"https://github.com/xmldom/xmldom/security/advisories/GHSA-27p8-2357-5qqv"},{"kind":"same-code","provenance":"machine","files":["lib/dom.js"],"commits":["https://github.com/xmldom/xmldom/commit/57aec90ac57b4408ae7c5d1746bf2a693b5ed90e","https://github.com/xmldom/xmldom/commit/85f12eb4d14b44de33216cfb72b50af4d24e9fdd","https://github.com/xmldom/xmldom/commit/2c548f200cfec991cd5846627ef8f03542309213","https://github.com/xmldom/xmldom/commit/cfb09b5dbeb035fdfedc9f01e2bbaf226bf47cf3"],"basis":"shared function","functions":["_extends"]}]},{"from":"CVE-2022-39353","to":"CVE-2026-83613","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/dom.js"],"commits":["https://github.com/xmldom/xmldom/commit/52a708360c35aa160fcca8621720d71fd0f95f1a","https://github.com/xmldom/xmldom/commit/7ff7c10ab2961703ac1752e95b4ff60ee4ee6643","https://github.com/xmldom/xmldom/commit/2c548f200cfec991cd5846627ef8f03542309213","https://github.com/xmldom/xmldom/commit/cfb09b5dbeb035fdfedc9f01e2bbaf226bf47cf3"],"basis":"shared function","functions":["_extends","_removeNamedNode"]}]}]}}