{"id":"CVE-2026-83609","published":"2026-09-01T14:29:40Z","modified":"2026-09-01T18:10:19Z","title":"xmldom: Creation-time XML Name/QName validation is bypassable via an embedded line terminator, allowing injection on…","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. From 0.9.0 until 0.9.12, the shared reg() builder in lib/grammar.js compiles the anchored QName_exact validator with the multiline flag, so ^ and $ validate only one line instead of the complete name. createElementNS, createAttributeNS, createDocumentType, and createAttribute consequently accept a malformed XML name whose first line is valid and whose later text injects markup when serialized through either the default path or requireWellFormed: true. The triggering ECMAScript line terminators are U+000A, U+000D, U+2028, and U+2029. This issue is fixed in @xmldom/xmldom version 0.9.12.","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.00543,"percentile":0.46513,"provenance":"source"},"cwes":[{"id":"CWE-91","name":"XML Injection"},{"id":"CWE-625","name":"Permissive Regular Expression"}],"references":[{"url":"https://github.com/xmldom/xmldom/security/advisories/GHSA-3px3-54cx-rmw9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/xmldom/xmldom/pull/1071","tags":["x_refsource_MISC"]},{"url":"https://github.com/xmldom/xmldom/commit/7b2ec67e1750daadd0bb06c92e875e726544a362","tags":["x_refsource_MISC"]},{"url":"https://github.com/xmldom/xmldom/releases/tag/0.9.12","tags":["x_refsource_MISC"]}],"priority":{"score":15.4,"factors":[{"name":"EPSS percentile","points":9.3},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"xmldom","affectedVersions":[{"vendor":"xmldom","product":"xmldom","versions":[">= 0.9.0, < 0.9.12"]},{"vendor":"@xmldom","product":"xmldom","versions":[">= 0.9.0, < 0.9.12"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-09-01T17:34:16.848093Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@xmldom/xmldom","vulnerableRanges":[">=0.9.0, <0.9.12"],"patched":["0.9.12"],"from":["GHSA-3px3-54cx-rmw9"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-69220","exploited":false,"provenance":"source"}}