cve.bz

CVE-2026-41674 xmldom xmldom: Blind XPath Injection

8.7 highEPSS 0.6%Fix available

High (8.7) in xmldom xmldom. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in @xmldom/xmldom 0.8.13, 0.9.10.

On this page
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.

Severity

CVSS 4.0

8.7 high
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

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
0.6% (unchanged from 0.6% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 48th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2026-05-07. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-91 XML Injection (Blind XPath Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-41674 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-41674?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-41674?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-41674 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
xmldomxmldom <= 0.6.0
xmldom@xmldom/xmldom >= 0.9.0, < 0.9.10
xmldom@xmldom/xmldom < 0.8.13

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-f6ww-3ggp-fr8hnpm@xmldom/xmldom<0.8.130.8.13
GHSA-f6ww-3ggp-fr8hnpm@xmldom/xmldom>=0.9.0 <0.9.100.9.10
GHSA-f6ww-3ggp-fr8hnpmxmldom<=0.6.0no fix published

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13node-xmldomno fix listedDEBIAN-CVE-2026-41674
Debian14node-xmldom0.9.10-1DEBIAN-CVE-2026-41674
Ubuntu20.04:LTS, 22.04:LTS, 24.04:LTS and 3 morenode-xmldomno fix listedUBUNTU-CVE-2026-41674

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Important.

Red Hat's statement

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

ProductPackageStateAdvisory
Red Hat Developer Hub 1.8rhdh/rhdh-hub-rhel9:1779841586Fixed 2026-05-27RHSA-2026:21338
Red Hat Developer Hub 1.9rhdh/rhdh-hub-rhel9:1781187342Fixed 2026-06-16RHSA-2026:26234
Red Hat OpenShift Container Platform 4.20openshift4/ose-agent-installer-ui-rhel9:1779864090Fixed 2026-06-03RHSA-2026:21703
Red Hat OpenShift Container Platform 4.21openshift4/ose-agent-installer-ui-rhel9:1779252093Fixed 2026-05-26RHSA-2026:20034
Red Hat Build of Podman Desktoprh-podman-desktop.gitAffected
Red Hat Fuse 7xmldomWill not fix
Red Hat OpenShift AI (RHOAI)rhoai/odh-mlflow-rhel9Not affected
Self-service automation portal 2ansible-automation-platform/automation-portalAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-41674.

Attack patterns (CAPEC)

  • CAPEC-83 XPath Injection Likelihood: High · Severity: High
  • CAPEC-250 XML Injection Likelihood: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON