{"id":"CVE-2026-41675","summary":"xmldom: XML node injection through unvalidated processing instruction serialization","details":"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 ?\u003e. 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.","aliases":["GHSA-x6wf-f3px-wcqx"],"modified":"2026-07-16T03:30:48.942456072Z","published":"2026-05-07T03:49:34.056Z","related":["CGA-q8q8-3c7r-m9jv"],"database_specific":{"cwe_ids":["CWE-91"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41675.json","unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"@xmldom/xmldom \u003e= 0.9.0, \u003c 0.9.10"},{"last_affected":"@xmldom/xmldom \u003e= 0.9.0, \u003c 0.9.10"}]}],"cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/xmldom/xmldom/releases/tag/0.8.13"},{"type":"WEB","url":"https://github.com/xmldom/xmldom/releases/tag/0.9.10"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41675.json"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:26234"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-41675"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41675.json"},{"type":"ADVISORY","url":"https://github.com/xmldom/xmldom/security/advisories/GHSA-x6wf-f3px-wcqx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41675"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2467629"},{"type":"FIX","url":"https://github.com/xmldom/xmldom/commit/7207a4b0e0bcc228868075ed991665ef9f73b1c2"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/xmldom/xmldom","events":[{"introduced":"c80a161172cc4d8733583bf0cf59abfa589f6d9e"},{"fixed":"7207a4b0e0bcc228868075ed991665ef9f73b1c2"},{"fixed":"e5c14802592685bb872c042c54c3f73758875c85"},{"fixed":"bf396a575c4dd32ce4bd925b849dcb7e778d957c"}],"database_specific":{"extracted_events":[{"introduced":"xmldom \u003c= 0.6.0"},{"last_affected":"xmldom \u003c= 0.6.0"},{"introduced":"@xmldom/xmldom \u003c 0.8.13"},{"last_affected":"@xmldom/xmldom \u003c 0.8.13"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["@xmldom/xmldom \u003c 0.8.13","xmldom \u003c= 0.6.0","0.9.9","0.8.12","0.8.11","0.8.10","0.9.8","0.9.7","0.9.6","0.9.5","0.9.4","0.9.3","0.9.2","0.9.1","0.9.0","0.9.0-beta.11","0.9.0-beta.10","0.8.9","0.9.0-beta.9","0.8.8","0.9.0-beta.8","0.9.0-beta.7","0.8.7","0.8.6","0.9.0-beta.6","0.8.5","0.8.4","0.9.0-beta.5","0.9.0-beta.4","0.8.3","0.9.0-beta.3","0.9.0-beta.2","0.9.0-beta.1","0.8.2","0.8.1","0.8.0","0.7.3","0.7.2","0.7.1","0.7.0+scoped","v0.7.0","0.7.0+unscoped","0.7.0","0.6.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-41675.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"}]}