{"id":"CVE-2026-41672","published":"2026-05-07T03:36:16Z","modified":"2026-08-28T12:04:23Z","title":"xmldom: XML node injection through unvalidated comment serialization","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. In @xmldom/xmldom prior to versions 0.9.10 and 0.8.13 and xmldom version 0.6.0 and prior, the package allows attacker-controlled comment content to be serialized into XML without validating or neutralizing comment-breaking sequences. As a result, an attacker can terminate the comment early and inject arbitrary XML nodes into the serialized output. This issue has been patched in versions @xmldom/xmldom versions 0.9.10 and 0.8.13.","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:H/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00457,"percentile":0.40525,"provenance":"source"},"cwes":[{"id":"CWE-91","name":"XML Injection"}],"references":[{"url":"https://github.com/xmldom/xmldom/security/advisories/GHSA-j759-j44w-7fr8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/xmldom/xmldom/pull/987","tags":["x_refsource_MISC"]},{"url":"https://github.com/xmldom/xmldom/commit/b397540889086da868c30c366ad5c220d1a750c7","tags":["x_refsource_MISC"]},{"url":"https://github.com/xmldom/xmldom/commit/fda7cc313de30243fea35cada64e0bb12099c2a1","tags":["x_refsource_MISC"]},{"url":"https://github.com/xmldom/xmldom/releases/tag/0.8.13","tags":["x_refsource_MISC"]},{"url":"https://github.com/xmldom/xmldom/releases/tag/0.9.10","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-41672","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2467631","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41672.json","tags":["x_sadp-csaf-vex"]},{"url":"https://access.redhat.com/errata/RHSA-2026:26234","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:60520","tags":["vendor-advisory","x_refsource_REDHAT"]}],"priority":{"score":14.2,"factors":[{"name":"EPSS percentile","points":8.11},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"xmldom","affectedVersions":[{"vendor":"xmldom","product":"xmldom","versions":["xmldom <= 0.6.0","@xmldom/xmldom >= 0.9.0, < 0.9.10","@xmldom/xmldom < 0.8.13"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-05-07T14:11:04.312092Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@xmldom/xmldom","vulnerableRanges":["<0.8.13",">=0.9.0, <0.9.10"],"patched":["0.8.13","0.9.10"],"from":["GHSA-j759-j44w-7fr8"],"provenance":"source"},{"ecosystem":"npm","package":"xmldom","vulnerableRanges":["<=0.6.0"],"patched":[],"from":["GHSA-j759-j44w-7fr8"],"provenance":"source"}],"summary":{"text":"The xmldom package, an XML DOM Level 2 implementation in JavaScript, fails to validate or neutralize comment-breaking sequences in attacker-controlled comment content during XML serialization in @xmldom/xmldom versions before 0.9.10 and 0.8.13, and in xmldom 0.6.0 and earlier. An attacker who can supply comment content that is later serialized can end the comment early and inject arbitrary XML nodes into the output, with no authentication, user interaction, or special configuration required beyond the attacker controlling that comment data.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:34:07Z"},"euvd":{"id":"EUVD-2026-28285","exploited":false,"provenance":"source"}}