CVE-2026-83611: xmldom: Parser silently accepts a not-well-formed end tag whose name is followed by a line break and trailing content
xmldom’s parser silently accepts a not-well-formed end tag whose valid name is followed by
trailing content — e.g. </a⏎junk>. The element is closed, the trailing content is discarded, and no
error is reported, even though the XML end-tag production allows only optional whitespace after the
name and both Chromium and Firefox reject such input as application/xml. An application that relies
on xmldom to reject not-well-formed input therefore receives a false “valid” result for a document the
specification and browsers consider malformed.
References
- github.com/advisories/GHSA-6h8r-xr42-gp59
- github.com/xmldom/xmldom/commit/4430189660b0d380ee9c9ee7550a1358688e8828
- github.com/xmldom/xmldom/commit/7b2ec67e1750daadd0bb06c92e875e726544a362
- github.com/xmldom/xmldom/pull/1071
- github.com/xmldom/xmldom/pull/1072
- github.com/xmldom/xmldom/releases/tag/0.8.15
- github.com/xmldom/xmldom/releases/tag/0.9.12
- github.com/xmldom/xmldom/security/advisories/GHSA-6h8r-xr42-gp59
- nvd.nist.gov/vuln/detail/CVE-2026-83611
Code Behaviors & Features
Detect and mitigate CVE-2026-83611 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →