xmldom: Parser silently accepts a not-well-formed end tag whose name is followed by a line break and trailing content
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- Partial Red Hat: 8 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat.
Summary
xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. Prior to @xmldom/xmldom versions 0.8.15 and 0.9.12, and in xmldom version 0.6.0 and earlier, DOMParser.parseFromString() can silently accept an end tag such as </a\njunk>, close the element, and discard the trailing content. On 0.9.x, the lib/sax.js end-tag validator inherits the multiline flag from reg(), allowing the first line to satisfy the anchored XML ETag production; older lines have no equivalent residue validation. This parser differential can bypass a parse-before-trust well-formedness gate, although it does not inject the discarded content; onError on 0.9.x and errorHandler on 0.8.x are the relevant reporting interfaces. This issue is fixed in @xmldom/xmldom versions 0.8.15 and 0.9.12; no fixed version is available for xmldom.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| xmldom | xmldom | up to 0.6.0 | — | No fix listed | CNA |
| xmldom | xmldom | 0.9.0 to before 0.9.12; 0.7.0 to before 0.8.15 | 0.9.12, 0.8.15 | Patch available | CNA |
| — | @xmldom/xmldom (npm) | 0.7.0 to before 0.8.15 | 0.8.15 | Patch available | GHSA-6h8r-xr42-gp59 |
| — | @xmldom/xmldom (npm) | 0.9.0 to before 0.9.12 | 0.9.12 | Patch available | GHSA-6h8r-xr42-gp59 |
| — | xmldom (npm) | up to 0.6.0 | — | No fix listed | GHSA-6h8r-xr42-gp59 |
- xmldom Vendorxmldom Affected up to 0.6.0 Fixed in — No fix listed CNA
- xmldom Vendorxmldom Affected 0.9.0 to before 0.9.12; 0.7.0 to before 0.8.15 Fixed in 0.9.12, 0.8.15 Patch available CNA
- @xmldom/xmldom (npm) Vendor— Affected 0.7.0 to before 0.8.15 Fixed in 0.8.15 Patch available GHSA-6h8r-xr42-gp59
- @xmldom/xmldom (npm) Vendor— Affected 0.9.0 to before 0.9.12 Fixed in 0.9.12 Patch available GHSA-6h8r-xr42-gp59
- xmldom (npm) Vendor— Affected up to 0.6.0 Fixed in — No fix listed GHSA-6h8r-xr42-gp59
Remediation
- Fix · CNA xmldom (@xmldom) Fixed in 0.9.12, 0.8.15
- Fix · GHSA-6h8r-xr42-gp59 @xmldom/xmldom (npm) Fixed in 0.8.15 Advisory →
- Fix · GHSA-6h8r-xr42-gp59 @xmldom/xmldom (npm) Fixed in 0.9.12 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Build of Podman Desktop | Affected | No fix yet: Fix deferred |
| Red Hat Developer Hub 1 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
| Red Hat Fuse 7 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift AI (RHOAI) | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet: Fix deferred |
Timeline
- 2026-10-02 Threatist record created from CVE-2026-83611
- 2026-10-03 Alias added: GHSA-6h8r-xr42-gp59
- 2026-10-27 Affected versions changed · Red Hat
References
Other 8
- https://github.com/xmldom/xmldom/security/advisories/GHSA-6h8r-xr42-gp59
- https://github.com/xmldom/xmldom/pull/1071
- https://github.com/xmldom/xmldom/pull/1072
- https://github.com/xmldom/xmldom/commit/4430189660b0d380ee9c9ee7550a1358688e8828
- https://github.com/xmldom/xmldom/commit/7b2ec67e1750daadd0bb06c92e875e726544a362
- https://github.com/xmldom/xmldom/releases/tag/0.8.15
- https://github.com/xmldom/xmldom/releases/tag/0.9.12
- https://github.com/xmldom/xmldom
More xmldom vulnerabilities
- TI-2022-18728 xmldom allows multiple root nodes in a DOM CVSS 3.1CRITICAL 9.8
- TI-2026-57717 xmldom: requireWellFormed DocType publicId/systemId validation is bypassable via an embedded line terminator CVSS 4.0HIGH 8.7
- TI-2026-57716 xmldom: requireWellFormed element/attribute name validation is bypassable via an embedded line terminator CVSS 4.0HIGH 8.7
- TI-2026-57715 xmldom: Processing Instruction Target Injection Bypasses requireWellFormed CVSS 4.0HIGH 8.7
- TI-2026-57714 xmldom: Quadratic-memory consumption CVSS 4.0HIGH 8.7
- TI-2026-57712 xmldom: Quadratic-time attribute deduplication CVSS 4.0HIGH 8.7
Sources
- CVE-2026-83611 · CVE Program
- CVE-2026-83611 · NVD
- FIRST EPSS
- GHSA-6h8r-xr42-gp59 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-83611 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences