{"id":"CVE-2026-83616","published":"2026-09-01T14:45:44Z","modified":"2026-09-01T15:18:45Z","title":"xmldom: Processing Instruction Target Injection Bypasses requireWellFormed","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, Document.createProcessingInstruction(target, data) in lib/dom.js accepts an unvalidated target, while the requireWellFormed: true serializer checks only for a colon and the reserved case-insensitive xml name on 0.9.x and performs no target check on 0.8.x. Because serialization emits <?target data?>, a target containing >, ?, whitespace, or another invalid XML-name character can break the processing-instruction boundary and inject XML structure. 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:H/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00612,"percentile":0.43484,"provenance":"source"},"cwes":[{"id":"CWE-91","name":"XML Injection"}],"references":[{"url":"https://github.com/xmldom/xmldom/security/advisories/GHSA-c7q8-3ch8-vqpv","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/1cde3e31a07c41c87cfd368d6946aa477f16b4f9","tags":["x_refsource_MISC"]},{"url":"https://github.com/xmldom/xmldom/commit/3b694872bcb5c7e3cbadba961a4be2488750ce5b","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.8,"factors":[{"name":"EPSS percentile","points":8.7},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"xmldom","affectedVersions":[{"vendor":"xmldom","product":"xmldom","versions":["<= 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-01T15:18:13.005407Z","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-c7q8-3ch8-vqpv"],"provenance":"source"},{"ecosystem":"npm","package":"xmldom","vulnerableRanges":["<=0.6.0"],"patched":[],"from":["GHSA-c7q8-3ch8-vqpv"],"provenance":"source"}],"summary":{"text":"The xmldom JavaScript DOM parser and serializer accepts an unvalidated target in Document.createProcessingInstruction, and the requireWellFormed serializer check fails to catch targets containing characters like \">\", \"?\", or whitespace, so serialized output can break out of the processing-instruction boundary and inject XML structure. An attacker can exploit this over the network with no privileges or user interaction, provided the application passes attacker-influenced values as processing-instruction targets before serializing the document.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:10:18Z"},"euvd":{"id":"EUVD-2026-69239","exploited":false,"provenance":"source"}}