xmldom: XML node injection through unvalidated processing instruction serialization
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Partial Red Hat: 2 fixed, 3 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. In @xmldom/xmldom prior to versions 0.9.10 and 0.8.13 and xmldom version 0.6.0 and prior, the package allows attacker-controlled processing instruction data to be serialized into XML without validating or neutralizing the PI-closing sequence ?>. As a result, an attacker can terminate the processing instruction early and inject arbitrary XML nodes into the serialized output. This issue has been patched in versions @xmldom/xmldom versions 0.9.10 and 0.8.13.
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 | xmldom <= 0.6.0; @xmldom/xmldom >= 0.9.0, < 0.9.10; @xmldom/xmldom < 0.8.13 | — | No fix listed | CNA |
| — | @xmldom/xmldom (npm) | before 0.8.13 | 0.8.13 | Patch available | GHSA-x6wf-f3px-wcqx |
| — | @xmldom/xmldom (npm) | 0.9.0 to before 0.9.10 | 0.9.10 | Patch available | GHSA-x6wf-f3px-wcqx |
| — | xmldom (npm) | up to 0.6.0 | — | No fix listed | GHSA-x6wf-f3px-wcqx |
- xmldom Vendorxmldom Affected xmldom <= 0.6.0; @xmldom/xmldom >= 0.9.0, < 0.9.10; @xmldom/xmldom < 0.8.13 Fixed in — No fix listed CNA
- @xmldom/xmldom (npm) Vendor— Affected before 0.8.13 Fixed in 0.8.13 Patch available GHSA-x6wf-f3px-wcqx
- @xmldom/xmldom (npm) Vendor— Affected 0.9.0 to before 0.9.10 Fixed in 0.9.10 Patch available GHSA-x6wf-f3px-wcqx
- xmldom (npm) Vendor— Affected up to 0.6.0 Fixed in — No fix listed GHSA-x6wf-f3px-wcqx
Remediation
- Fix · GHSA-x6wf-f3px-wcqx @xmldom/xmldom (npm) Fixed in 0.8.13 Advisory →
- Fix · GHSA-x6wf-f3px-wcqx @xmldom/xmldom (npm) Fixed in 0.9.10 Advisory →
Red Hat 2 advisories
- RHSA-2026:60520 Released 2026-08-27 · Red Hat rating CriticalRHOAI 3.4.4 - Red Hat OpenShift AI
- Red Hat OpenShift AI 3.4 registry.redhat.io/rhoai/odh-automl-rhel9, registry.redhat.io/rhoai/odh-autorag-rhel9, registry.redhat.io/rhoai/odh-built-in-detector-rhel9 +47
- RHSA-2026:26234 Released 2026-06-16 · Red Hat rating ImportantRed Hat Developer Hub 1.9.5 release.
- Red Hat Developer Hub 1.9 registry.redhat.io/rhdh/rhdh-hub-rhel9, registry.redhat.io/rhdh/rhdh-rhel9-operator
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Build of Podman Desktop | Affected | No fix yet |
| Red Hat Fuse 7 | Affected | No fix planned: Will not fix |
| Self-service automation portal 2 | Affected | No fix yet |
| Red Hat Developer Hub 1.9 | Fixed | RHSA-2026:26234 |
| Red Hat OpenShift AI 3.4 | Fixed | RHSA-2026:60520 |
Not affected: 5 products
- Red Hat Developer Hub 1.9
- Red Hat Enterprise Linux 8
- Red Hat OpenShift AI (RHOAI)
- Red Hat OpenShift AI 3.4
- Red Hat OpenShift Container Platform 4
Timeline
- 2026-10-02 Threatist record created from CVE-2026-41675
- 2026-10-03 Alias added: GHSA-x6wf-f3px-wcqx
References
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-41675 · CVE Program
- CVE-2026-41675 · NVD
- FIRST EPSS
- GHSA-x6wf-f3px-wcqx · GitHub Advisory Database · CC BY 4.0
- CVE-2026-41675 · 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