Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-41674

published high CVSS 4.0 · 8.7

xmldom: XML injection through unvalidated DocumentType serialization

Published
07 May 2026, 03:47:51 UTC
Updated
10 Sep 2026, 12:05:00 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
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 / vendorReleasePackage / productPublisher statusFixed buildSource
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.

en · GitHub_M · cna

en · redhat-SADP · adp

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.

Vendor advisories explicitly linked to this CVE.

0

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

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
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.

Affected vendor and product assertions
VendorProductVersion statusSource
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) (GitHub_M · cna)
  • CWE-91 XML Injection (aka Blind XPath Injection) (redhat-SADP · adp)

References

11

Provider assertions

3

GitHub_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

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected