{"id":"CVE-2026-83617","published":"2026-09-01T14:47:46Z","modified":"2026-09-01T15:30:45Z","title":"xmldom: requireWellFormed element/attribute name validation is bypassable via an embedded line terminator","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.11 until 0.9.12, the requireWellFormed: true element and attribute name checks use the anchored QName_exact expression produced by reg() in lib/grammar.js, which inherits the multiline flag. A name with a valid first line followed by U+000A, U+000D, U+2028, or U+2029 and breakout markup therefore passes validation and is emitted verbatim in element start and end tags or attribute names. This bypasses the strict-serialization checks introduced for the earlier element-name and attribute-name injection advisories, while the default serialization path remains outside the strict guarantee. 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.0057,"percentile":0.40992,"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-jxjr-3g7g-3944","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":14.3,"factors":[{"name":"EPSS percentile","points":8.2},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"xmldom","affectedVersions":[{"vendor":"xmldom","product":"xmldom","versions":[">= 0.9.11, < 0.9.12"]},{"vendor":"@xmldom","product":"xmldom","versions":[">= 0.9.11, < 0.9.12"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-09-01T15:30:29.598488Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@xmldom/xmldom","vulnerableRanges":[">=0.9.11, <0.9.12"],"patched":["0.9.12"],"from":["GHSA-jxjr-3g7g-3944"],"provenance":"source"}],"summary":{"text":"The xmldom library's requireWellFormed element and attribute name validation, in versions from 0.9.11 up to but not including 0.9.12, can be bypassed because the anchored name regex inherits the multiline flag. A name that begins with a valid segment followed by a line terminator (U+000A, U+000D, U+2028, or U+2029) and breakout markup is accepted and written verbatim into element start and end tags or attribute names, and the attack requires only network access without authentication or user interaction, but it applies only when the strict requireWellFormed serialization option is in use.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:24:29Z"},"euvd":{"id":"EUVD-2026-69241","exploited":false,"provenance":"source"}}