{"id":"CVE-2026-83610","published":"2026-09-01T14:31:49Z","modified":"2026-09-03T16:00:03Z","title":"xmldom: XML fragment injection via invalid EntityReference.nodeName during requireWellFormed 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. Prior to @xmldom/xmldom versions 0.8.15 and 0.9.12, and in xmldom version 0.6.0 and earlier, Document.createEntityReference(name) accepts an invalid name and the ENTITY_REFERENCE_NODE serializer emits the resulting nodeName directly in &name; form. Directly serializing the node or fragment with XMLSerializer.serializeToString() and requireWellFormed: true can therefore break the entity-reference boundary and produce attacker-controlled XML markup when reparsed. The parser does not ordinarily create these nodes, and element-child insertion is rejected, so exploitation requires an application to create and directly serialize an EntityReference. 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":6.3,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0059,"percentile":0.42167,"provenance":"source"},"cwes":[{"id":"CWE-116","name":"Improper Encoding or Escaping of Output"}],"references":[{"url":"https://github.com/xmldom/xmldom/security/advisories/GHSA-6gmq-8vp8-gcm6","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/4664386e4f4d99d17b416a151dbe8323e245284b","tags":["x_refsource_MISC"]},{"url":"https://github.com/xmldom/xmldom/commit/6c3fb5ffeafe7901ec928ce9010988dd716c94a0","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":12.8,"factors":[{"name":"EPSS percentile","points":8.43},{"name":"CVSS severity","points":4.41}]},"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-03T15:59:56.681108Z","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-6gmq-8vp8-gcm6"],"provenance":"source"},{"ecosystem":"npm","package":"xmldom","vulnerableRanges":["<=0.6.0"],"patched":[],"from":["GHSA-6gmq-8vp8-gcm6"],"provenance":"source"}],"summary":{"text":"xmldom's Document.createEntityReference() accepts an invalid name, and the serializer emits that name unescaped in an &name; entity reference, affecting @xmldom/xmldom before 0.8.15 and 0.9.12 and xmldom 0.6.0 and earlier. An unauthenticated remote attacker can inject attacker-controlled XML markup into output that is reparsed, but only when an application itself creates an EntityReference node and directly serializes it with XMLSerializer.serializeToString() and requireWellFormed set to true, since the parser does not normally produce such nodes and element-child insertion is rejected.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:38:34Z"},"euvd":{"id":"EUVD-2026-69222","exploited":false,"provenance":"source"}}