{"id":"UBUNTU-CVE-2026-83618","details":"xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. From 0.9.10 until 0.9.12, the requireWellFormed: true serializer validates DocumentType.publicId and DocumentType.systemId with PubidLiteral_match and SystemLiteral_match expressions produced by reg() in lib/grammar.js, which inherit the multiline flag. A complete valid literal on the first line can therefore satisfy the matcher while U+000A, U+000D, U+2028, or U+2029 and breakout markup remain in the emitted \u003c!DOCTYPE ...\u003e declaration. This bypasses the strict-serialization mitigation for the earlier DocumentType injection advisory; creation and direct property assignment remain unvalidated by design. This issue is fixed in @xmldom/xmldom version 0.9.12.","modified":"2026-09-16T14:03:32.034317263Z","published":"2026-09-01T15:17:00Z","upstream":["CVE-2026-83618"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-83618"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-83618"},{"type":"REPORT","url":"https://github.com/xmldom/xmldom/security/advisories/GHSA-vr34-hp96-76pp"},{"type":"REPORT","url":"https://github.com/xmldom/xmldom/pull/1071"}],"affected":[{"package":{"name":"node-xmldom","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/node-xmldom?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.1.27+ds-1","0.1.27+ds-1+deb10u2build0.20.04.1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.1.27+ds-1+deb10u2build0.20.04.1","binary_name":"node-xmldom"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-83618.json"}},{"package":{"name":"node-xmldom","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/node-xmldom?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.0-1","0.7.3-1","0.7.5-1","0.7.5-1ubuntu0.22.04.1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.7.5-1ubuntu0.22.04.1","binary_name":"node-xmldom"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-83618.json"}},{"package":{"name":"node-xmldom","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/node-xmldom?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.8.6-1"],"ecosystem_specific":{"binaries":[{"binary_name":"node-xmldom","binary_version":"0.8.6-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-83618.json"}},{"package":{"name":"node-xmldom","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/node-xmldom?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.6-1","0.9.8-1","0.9.8-2"],"ecosystem_specific":{"binaries":[{"binary_version":"0.9.8-2","binary_name":"node-xmldom"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-83618.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"},{"type":"Ubuntu","score":"medium"}]}