{"cve":"CVE-2026-83618","nvd":{"published":"2026-09-01T15:17:40.480","modified":"2026-09-08T21:11:31.703","status":"Deferred","description":"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 <!DOCTYPE ...> 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.","cvss_v4":{"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","score":8.7},"cvss_v3":null,"cwes":["CWE-91","CWE-625"],"references":["https://github.com/xmldom/xmldom/commit/7b2ec67e1750daadd0bb06c92e875e726544a362","https://github.com/xmldom/xmldom/pull/1071","https://github.com/xmldom/xmldom/releases/tag/0.9.12","https://github.com/xmldom/xmldom/security/advisories/GHSA-vr34-hp96-76pp","https://github.com/xmldom/xmldom/security/advisories/GHSA-vr34-hp96-76pp"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:50:50.842544443+00:00"},"epss":{"cve":"CVE-2026-83618","score":0.0057,"percentile":0.47192,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-vr34-hp96-76pp","url":"https://osv.dev/vulnerability/GHSA-vr34-hp96-76pp","summary":"xmldom: requireWellFormed DocType publicId/systemId validation is bypassable via an embedded line terminator","modified":"2026-09-08T21:15:04.901097321Z","packages":[{"ecosystem":"npm","name":"@xmldom/xmldom","purl":"pkg:npm/%40xmldom/xmldom","ranges":[">=0.9.10 <0.9.12"],"fixed":["0.9.12"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}