{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-83618","id":"CVE-2026-83618","title":"xmldom: requireWellFormed DocType publicId/systemId validation is bypassable via an embedded line terminator","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 li","descriptionLong":"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.","published":"2026-09-01T14:49:46.201Z","updated":"2026-10-28T02:30:54.312842458Z","reserved":"2026-08-31T20:36:25.744Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":8.7,"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","rating":"high","source":"GitHub_M"},"metrics":[{"version":"4.0","score":8.7,"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","rating":"high","source":"GitHub_M"},{"version":"4.0","score":8.7,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"high","source":"github.com"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"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","rating":"high","source":"GitHub"}],"rating":"high","products":["xmldom","@xmldom xmldom"],"affectedProducts":[{"vendor":"xmldom","product":"xmldom","defaultStatus":null,"versions":[{"version":">= 0.9.10, < 0.9.12","status":"affected"}],"platforms":[]},{"vendor":"@xmldom","product":"xmldom","defaultStatus":null,"versions":[{"version":">= 0.9.10, < 0.9.12","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"@xmldom/xmldom","purl":"pkg:npm/%40xmldom/xmldom","ranges":[">=0.9.10 <0.9.12"],"fixed":["0.9.12"],"advisory":"GHSA-vr34-hp96-76pp"}],"cwes":["CWE-91","CWE-625"],"aliases":["GHSA-vr34-hp96-76pp"],"references":[{"url":"https://github.com/xmldom/xmldom/security/advisories/GHSA-vr34-hp96-76pp","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/xmldom/xmldom/pull/1071","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/xmldom/xmldom/commit/7b2ec67e1750daadd0bb06c92e875e726544a362","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/xmldom/xmldom/releases/tag/0.9.12","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/83xxx/CVE-2026-83618.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-83618","tags":["advisory"]},{"url":"https://github.com/xmldom/xmldom","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total"},"epss":0.0057,"epssPercentile":0.4796,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-83618","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-83618","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-83618","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-vr34-hp96-76pp","ok":true,"note":"GHSA-vr34-hp96-76pp"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-83618","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}