{"id":"CVE-2026-41675","published":"2026-05-07T03:49:34Z","modified":"2026-08-28T12:04:19Z","title":"xmldom: XML node injection through unvalidated processing instruction 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 processing instruction data to be serialized into XML without validating or neutralizing the PI-closing sequence ?>. As a result, an attacker can terminate the processing instruction 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.0047,"percentile":0.41591,"provenance":"source"},"cwes":[{"id":"CWE-91","name":"XML Injection"}],"references":[{"url":"https://github.com/xmldom/xmldom/security/advisories/GHSA-x6wf-f3px-wcqx","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/xmldom/xmldom/commit/7207a4b0e0bcc228868075ed991665ef9f73b1c2","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-41675","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2467629","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41675.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.4,"factors":[{"name":"EPSS percentile","points":8.32},{"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-07T13:43:50.798218Z","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-x6wf-f3px-wcqx"],"provenance":"source"},{"ecosystem":"npm","package":"xmldom","vulnerableRanges":["<=0.6.0"],"patched":[],"from":["GHSA-x6wf-f3px-wcqx"],"provenance":"source"}],"summary":{"text":"The xmldom package (the pure JavaScript DOMParser and XMLSerializer module), in @xmldom/xmldom before 0.9.10 and 0.8.13 and in xmldom 0.6.0 and earlier, fails to validate or neutralize the processing instruction closing sequence \"?>\" when serializing attacker-controlled processing instruction data. An attacker who can supply processing instruction data that is later serialized over the network, with no authentication or user interaction and in the default configuration, can terminate the processing instruction early and inject arbitrary XML nodes into the output.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:32:59Z"},"euvd":{"id":"EUVD-2026-28290","exploited":false,"provenance":"source"}}