CVE-2026-41674
published high CVSS 4.0 · 8.7xmldom: XML injection through unvalidated DocumentType serialization
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| xmldom | — | xmldomxmldom <= 0.6.0 · @xmldom/xmldom >= 0.9.0, < 0.9.10 · @xmldom/xmldom < 0.8.13 | Affected | Not stated | GitHub_M |
| Red Hat | — | rhdh/rhdh-hub-rhel9Red Hat Developer Hub 1.8 · 1779841586 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhdh/rhdh-hub-rhel9Red Hat Developer Hub 1.9 · 1781187342 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | openshift4/ose-agent-installer-ui-rhel9Red Hat OpenShift Container Platform 4.20 · 1779864090 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | openshift4/ose-agent-installer-ui-rhel9Red Hat OpenShift Container Platform 4.21 · 1779252093 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rh-podman-desktop.gitRed Hat Build of Podman Desktop | Affected | Not stated | redhat-SADP |
| Red Hat | — | xmldomRed Hat Fuse 7 | Affected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-mlflow-rhel9Red Hat OpenShift AI (RHOAI) | Unaffected | Not required | redhat-SADP |
Show 1 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | ansible-automation-platform/automation-portalSelf-service automation portal 2 | Affected | Not stated | redhat-SADP |
Description
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 serializes DocumentType node fields (internalSubset, publicId, systemId) verbatim without any escaping or validation. When these fields are set programmatically to attacker-controlled strings, XMLSerializer.serializeToString can produce output where the DOCTYPE declaration is terminated early and arbitrary markup appears outside it. This issue has been patched in versions @xmldom/xmldom versions 0.9.10 and 0.8.13.
A flaw was found in xmldom and @xmldom/xmldom, a JavaScript library for parsing and serializing XML. This vulnerability allows an attacker to inject arbitrary XML markup into a document due to improper handling of DocumentType node fields during serialization. By crafting malicious input, an attacker can cause the XML serializer to prematurely terminate the DOCTYPE declaration, enabling the insertion of unauthorized content. This could lead to information disclosure or, in certain configurations, the execution of arbitrary code.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.5 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| xmldom | xmldom | xmldom <= 0.6.0 (affected)@xmldom/xmldom >= 0.9.0, < 0.9.10 (affected)@xmldom/xmldom < 0.8.13 (affected) | GitHub_M · cna |
| Red Hat | Red Hat Developer Hub 1.8 | 1779841586 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Developer Hub 1.9 | 1781187342 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift Container Platform 4.20 | 1779864090 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift Container Platform 4.21 | 1779252093 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Build of Podman Desktop | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Fuse 7 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: unaffected | redhat-SADP · adp |
| Red Hat | Self-service automation portal 2 | Default: affected | redhat-SADP · adp |
Weaknesses
2- CWE-91 CWE-91: XML Injection (aka Blind XPath Injection)
- CWE-91 XML Injection (aka Blind XPath Injection)
References
11- https://access.redhat.com/errata/RHSA-2026:20034
- https://access.redhat.com/errata/RHSA-2026:21338
- https://access.redhat.com/errata/RHSA-2026:21703
- https://access.redhat.com/errata/RHSA-2026:26234
- https://access.redhat.com/security/cve/CVE-2026-41674
- RHBZ#2467620 https://bugzilla.redhat.com/show_bug.cgi?id=2467620
- https://github.com/xmldom/xmldom/commit/372008f9ae0e20fd69f761c7b79e202598267314
- https://github.com/xmldom/xmldom/releases/tag/0.8.13
- https://github.com/xmldom/xmldom/releases/tag/0.9.10
- https://github.com/xmldom/xmldom/security/advisories/GHSA-f6ww-3ggp-fr8h
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41674.json
Provider assertions
3GitHub_M · cna
xmldom: XML injection through unvalidated DocumentType serialization
redhat-SADP · adp
xmldom: xmldom: Arbitrary XML markup injection
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e635387c46c84acacab7a131e851e383079ac2e447495e65d318bc6fed8ef227
- Ingested
- 23 Sep 2026, 09:13:40 UTC
- Source record
- Official CVE record