Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-41674

xmldom: XML injection through unvalidated DocumentType serialization
Back to all
CVE

CVE-2026-41674

xmldom: XML injection through unvalidated DocumentType serialization

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.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
8.7
-
4.0
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
C
H
U
0
-
C
H
U
-

Related Resources

No items found.

References

https://github.com/xmldom/xmldom/releases/tag/0.8.13, https://github.com/xmldom/xmldom/releases/tag/0.9.10, https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41674.json, 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, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41674.json, https://github.com/xmldom/xmldom/security/advisories/GHSA-f6ww-3ggp-fr8h, https://nvd.nist.gov/vuln/detail/CVE-2026-41674, https://bugzilla.redhat.com/show_bug.cgi?id=2467620, https://github.com/xmldom/xmldom/commit/372008f9ae0e20fd69f761c7b79e202598267314

Severity

0

CVSS Score
0
10

Basic Information

Base CVSS
0
EPSS Probability
0.00457%
EPSS Percentile
0.37249%
Introduced Version
c80a161172cc4d8733583bf0cf59abfa589f6d9e,0
Fix Available
bf396a575c4dd32ce4bd925b849dcb7e778d957c,2.334.0-r1,3.11.14.3-r6,18.11.6-r7,18.11.7-r1,0.8.4-r6,11.13.0-r1,1.6.0-r0,7.5.7-r18,4.14.6-r3,4.14.6-r1

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading