Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @xmldom/xmldom
  4. ›
  5. CVE-2026-83611

CVE-2026-83611: xmldom: Parser silently accepts a not-well-formed end tag whose name is followed by a line break and trailing content

September 8, 2026

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 →

Affected versions

All versions starting from 0.7.0 before 0.8.15, all versions starting from 0.9.0 before 0.9.12

Fixed versions

  • 0.8.15
  • 0.9.12

Solution

Upgrade to versions 0.8.15, 0.9.12 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-1286: Improper Validation of Syntactic Correctness of Input

Source file

npm/@xmldom/xmldom/CVE-2026-83611.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 22 Sep 2026 12:19:45 +0000.