{"id":"CVE-2026-83615","published":"2026-09-01T14:44:05Z","modified":"2026-09-03T15:57:05Z","title":"xmldom: Quadratic-memory consumption","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 versions 0.1.5 through 0.6.0, appendElement in lib/sax.js uses _copy to clone the complete currentNSMap for each nested element that declares a new namespace prefix. Keeping every ancestor map live on the parse stack creates quadratic peak namespace-map storage, so a small highly compressible XML document can exhaust the process heap 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.0059,"percentile":0.42168,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/xmldom/xmldom/security/advisories/GHSA-965w-775f-mr7g","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/954370f58c046223faf95ba77efcbc8ce014409d","tags":["x_refsource_MISC"]},{"url":"https://github.com/xmldom/xmldom/commit/dabffe884e864eeecb1f515c716f875e1bc47ec1","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"]}],"priority":{"score":14.5,"factors":[{"name":"EPSS percentile","points":8.43},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"xmldom","affectedVersions":[{"vendor":"xmldom","product":"xmldom","versions":[">= 0.1.5, <= 0.6.0"]},{"vendor":"@xmldom","product":"xmldom","versions":[">= 0.7.0, < 0.8.15",">= 0.9.0, < 0.9.12"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-09-03T15:56:55.590678Z","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-965w-775f-mr7g"],"provenance":"source"},{"ecosystem":"npm","package":"xmldom","vulnerableRanges":[">=0.1.5, <=0.6.0"],"patched":[],"from":["GHSA-965w-775f-mr7g"],"provenance":"source"}],"summary":{"text":"The xmldom JavaScript DOMParser and XMLSerializer module contains a flaw in lib/sax.js, where appendElement clones the complete namespace map for each nested element that declares a new prefix, causing quadratic memory growth; affected versions are @xmldom/xmldom before 0.8.15 and 0.9.12, and xmldom 0.1.5 through 0.6.0. An unauthenticated remote attacker who can supply a small, highly compressible XML document for parsing can exhaust the process heap and cause denial of service, with no user interaction or special configuration required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:17:58Z"},"euvd":{"id":"EUVD-2026-69236","exploited":false,"provenance":"source"}}