CVE-2026-83605 json
xmldom: Attribute name injection via setAttribute() bypasses requireWellFormed
published 2mo ago modified 2mo ago also EUVD-2026-69215 , GHSA-4w3w-2rp5-g8jm
- cvss
- 8.7
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 49%
- public exploits
- 0
- none known
Summary
xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. Prior to @xmldom/xmldom versions 0.8.14 and 0.9.11, and in xmldom version 0.6.0 and earlier, Element.setAttribute() calls the private _createAttribute(name) path without validating the attribute name, while Document.createAttribute(name) validates against QName. XMLSerializer.serializeToString() emits attribute names verbatim, and requireWellFormed: true did not validate them, so a crafted name can terminate the intended attribute and inject additional attributes, including event handlers, into browser-consumed output; synthesized xmlns:PREFIX declarations expose the same unchecked-name boundary. This issue is fixed in @xmldom/xmldom versions 0.8.14 and 0.9.11; no fixed version is available for xmldom.
Patch / fix
- npm @xmldom/xmldom 0.8.14, 0.9.11
- xmldom_project xmldom 0.8.14, 0.9.11
- node-xmldom Debian 14 0.9.11-1
debian advisories DEBIAN-CVE-2026-83605
- github.com/xmldom/xmldom@cba1321 commit
- github.com/xmldom/xmldom@d8212e6 commit
- github.com/xmldom/xmldom#1043 pull request
- github.com/xmldom/xmldom#1050 pull request
- github.com/xmldom/xmldom/releases/tag/0.8.14 release
- github.com/xmldom/xmldom/releases/tag/0.9.11 release
Is CVE-2026-83605 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-83605 updated cvss 8.1
xmldom: @xmldom/xmldom: xmldom: Attribute injection allows client-side script execution
-
Red Hat Build of Podman Desktop rh-podman-desktop.git 1.2.0affected: workaround, no fix available
-
Red Hat Fuse 7 xmldom 0.8.0affected: workaround, no fix planned “Will not fix”
-
Red Hat Developer Hub 1.9 rhdh/rhdh-hub-rhel9 1789554285fixed: vendor fix RHSA-2026:69248
-
Red Hat Developer Hub 1.9 rhdh/rhdh-rhel9-operator 1789552931, rhdh/rhdh-operator-bundle 1789558887 Red Hat Enterprise Linux 8 grafana, grafana-loki, grafana-mssql, grafana-mysql, grafana-selinux, grafana-graphite, +9 morenot affected: vulnerable code not present
-
Red Hat Enterprise Linux 9 grafana, grafana-selinux, grafana 10.2.6-28.el10_2.4 Red Hat Enterprise Linux 10 grafana 10.2.6-28.el10_2.4 Red Hat OpenShift AI (RHOAI) rhoai/odh-mlflow-rhel9not affected: component not present
-
Red Hat OpenShift Container Platform 4 openshift4/ose-consolenot affected: vulnerable code not in execute path
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2mo ago
Exploit prediction
0.61% chance of exploitation in the next 30 days, higher than 49% of all scored CVEs (FIRST EPSS, 2026-11-11).
Exploits and checks
- github.com https://github.com/xmldom/xmldom/security/advisories/GHSA-4w3w-2rp5-g8jm referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.7 | 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 |
| CNA | 4.0 | 8.7 | 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 |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @xmldom/xmldom | >=0.9.0, <0.9.11 >=0.7.0, <0.8.14 |
0.9.11 0.8.14 |
| npm | xmldom | <=0.6.0 |
no fix listed |
Affected products
- xmldom xmldom
- @xmldom xmldom
Classification
- Weakness
-
- CWE-91 XML Injection
References
-
github.com
/xmldom/xmldom/pull/1043
web
-
github.com
/xmldom/xmldom/pull/1050
web
-
github.com
/xmldom/xmldom/commit/cba1321218b069182695813fa7565653708e172e
web
-
github.com
/xmldom/xmldom/commit/d8212e632507eaf1d9f609657dd4c56abeb12d44
web
-
github.com
/xmldom/xmldom/security/advisories/GHSA-4w3w-2rp5-g8jm
exploit, web, advisory
-
github.com
/xmldom/xmldom/releases/tag/0.8.14
web
-
github.com
/xmldom/xmldom/releases/tag/0.9.11
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-83605
advisory
-
github.com
/xmldom/xmldom
package
Sources
- CVE List CVE-2026-83605
- GitHub Advisory GHSA-4w3w-2rp5-g8jm
- NVD CVE-2026-83605
- Maintainer advisory GHSA-4w3w-2rp5-g8jm
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of xmldom/xmldom published their own advisory on GitHub. Reviewed sources take precedence over it.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.