{"id":"CVE-2026-83609","summary":"xmldom: Creation-time XML Name/QName validation is bypassable via an embedded line terminator, allowing injection on the default serialization path","details":"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.","aliases":["GHSA-3px3-54cx-rmw9"],"modified":"2026-09-03T03:48:17.082569134Z","published":"2026-09-01T14:29:40.475Z","database_specific":{"cwe_ids":["CWE-625","CWE-91"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/83xxx/CVE-2026-83609.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/xmldom/xmldom/releases/tag/0.9.12"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/83xxx/CVE-2026-83609.json"},{"type":"ADVISORY","url":"https://github.com/xmldom/xmldom/security/advisories/GHSA-3px3-54cx-rmw9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-83609"},{"type":"FIX","url":"https://github.com/xmldom/xmldom/commit/7b2ec67e1750daadd0bb06c92e875e726544a362"},{"type":"FIX","url":"https://github.com/xmldom/xmldom/pull/1071"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/xmldom/xmldom","events":[{"introduced":"8c7c7afe89027641aa59c101d20eefedc0f54c6f"},{"fixed":"7b2ec67e1750daadd0bb06c92e875e726544a362"},{"fixed":"0af8cf829d8a92bbac612903422c6947f5458f06"}],"database_specific":{"extracted_events":[{"introduced":"0.9.0"},{"fixed":"0.9.12"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["0.9.11","0.9.10","0.9.9","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"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-83609.json"}}],"schema_version":"1.9.0","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"}]}