DOMPurify before 3.4.7 (affected versions <= 3.4.5) passes direct references to the module-level DEFAULT_ALLOWED_TAGS and DEFAULT_ALLOWED_ATTR sets to the uponSanitizeElement and uponSanitizeAttribute hooks via data.allowedTags / data.allowedAttributes when sanitize is called without an explicit cfg.ALLOWED_TAGS / cfg.ALLOWED_ATTR array. A hook that mutates these fields permanently widens the default allow-lists for the lifetime of the DOMPurify instance, so all subsequent default-config sanitize calls inherit the widened defaults and attacker payloads using the poisoned tag/attribute name survive sanitization. removeAllHooks(), clearConfig(), and passing a fresh cfg do not recover the state; only constructing a new DOMPurify instance does.
CVE-2026-65902
This medium-severity CVE scores 6.1 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.2%, top 85% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
A fix is available — apply it.
- CVSS v3
- 6.1
- EG Score
- 6.1(medium)
- EG Risk
- 43(Track)EG Risk 43/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity61% × 45%Exploitation40% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 15%
- KEV
- Not listed
Published
July 23, 2026
Last Modified
July 28, 2026
Advisory Details (3)
Auto-updated Jul 23, 2026DOMPurify before 3.4.7 Hook Mutation Pollution via allowedTags | Advisories | VulnCheck
https://www.vulncheck.com/advisories/dompurify-before-hook-mutation-pollution-via-allowedtagscommit 7996f1dc78eb (cure53/DOMPurify)
Fix landed in cure53/DOMPurify commit 7996f1dc78eb — awaiting tagged release
https://github.com/cure53/DOMPurify/commit/7996f1dc78eb8b7922388aed75d94a9f8fad9a36Hook mutation of `data.allowedTags` / `data.allowedAttributes` permanently pollutes `DEFAULT_ALLOWED_TAGS` / `DEFAULT_ALLOWED_ATTR` · Advisory · cure53/DOMPurify · GitHub
https://github.com/cure53/DOMPurify/security/advisories/GHSA-76mc-f452-cxcmVendor Advisories for CVE-2026-65902(3)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2026:58502Red Hat Product SecurityMedium
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
- RHSA-2026:58500Red Hat Product SecurityMedium
Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update
- GHSA-76mc-f452-cxcmGitHub Security AdvisoriesMedium
DOMPurify: Hook mutation of `data.allowedTags` / `data.allowedAttributes` permanently pollutes `DEFAULT_ALLOWED_TAGS` / `DEFAULT_ALLOWED_ATTR`
Patch Availability(2)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| redhat | grafana12-4-main-12.4.8-0.1.2.hum1 | 2026-08-22 | redhat |
| redhat | grafana13-1-main-13.1.3-0.1.3.hum1 | 2026-08-22 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(4 across 4 ecosystems)
Debian:12(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| node-dompurify | 2.4.1+dfsg+~2.4.0-1 ... 3.4.5+dfsg-1 (17 versions) | — | — |
Debian:13(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| node-dompurify | 3.1.7+dfsg+~3.0.5-2 ... 3.4.5+dfsg-1 (11 versions) | — | — |
Debian:14(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| node-dompurify | 3.1.7+dfsg+~3.0.5-2 ... 3.4.5+dfsg-1 (8 versions) | 3.4.12+dfsg-1 | — |
npm(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| dompurify | — | 3.4.7 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 14× in last 7d / 62× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 111 total refreshes for this CVE.
- 2026-09-18 19:28 UTCEPSS rescore
- 2026-09-18 09:46 UTCEG score recompute
- 2026-09-18 09:46 UTCVendor advisory
- 2026-09-17 09:17 UTCEG score recompute
- 2026-09-17 09:17 UTCVendor advisory
- 2026-09-16 14:08 UTCEPSS rescore
- 2026-09-16 06:48 UTCEG score recompute
- 2026-09-16 06:48 UTCVendor advisory
- 2026-09-16 05:15 UTCEPSS rescore
- 2026-09-14 16:49 UTCVendor advisory
- 2026-09-13 16:48 UTCEG score recompute
- 2026-09-13 16:48 UTCVendor advisory
- 2026-09-12 16:47 UTCEG score recompute
- 2026-09-12 16:47 UTCVendor advisory
- 2026-09-11 16:45 UTCEG score recompute
- 2026-09-11 16:45 UTCVendor advisory
- 2026-09-11 14:53 UTCEPSS rescore
- 2026-09-11 09:37 UTCEPSS rescore
- 2026-09-10 15:11 UTCEG score recompute
- 2026-09-10 15:11 UTCVendor advisory
- 2026-09-09 08:57 UTCEG score recompute
- 2026-09-09 08:57 UTCVendor advisory
- 2026-09-08 22:01 UTCEPSS rescore
- 2026-09-07 21:31 UTCEG score recompute
- 2026-09-07 21:31 UTCVendor advisory
Show 75 moreShow fewer
- 2026-09-07 16:01 UTCEPSS rescore
- 2026-09-06 13:47 UTCEPSS rescore
- 2026-09-05 19:28 UTCEG score recompute
- 2026-09-05 19:28 UTCVendor advisory
- 2026-09-05 15:31 UTCEPSS rescore
- 2026-09-04 13:16 UTCEG score recompute
- 2026-09-04 13:16 UTCVendor advisory
- 2026-09-04 05:07 UTCEPSS rescore
- 2026-09-02 14:12 UTCEPSS rescore
- 2026-09-01 23:22 UTCEG score recompute
- 2026-09-01 23:22 UTCVendor advisory
- 2026-09-01 13:54 UTCEPSS rescore
- 2026-09-01 04:40 UTCEPSS rescore
- 2026-08-31 00:36 UTCEG score recompute
- 2026-08-31 00:36 UTCVendor advisory
- 2026-08-30 19:17 UTCEPSS rescore
- 2026-08-30 01:22 UTCEPSS rescore
- 2026-08-30 00:34 UTCEG score recompute
- 2026-08-30 00:34 UTCVendor advisory
- 2026-08-28 21:42 UTCEPSS rescore
- 2026-08-27 21:16 UTCEG score recompute
- 2026-08-27 21:16 UTCVendor advisory
- 2026-08-26 21:15 UTCEG score recompute
- 2026-08-26 21:15 UTCVendor advisory
- 2026-08-26 14:47 UTCEPSS rescore
- 2026-08-25 20:47 UTCEG score recompute
- 2026-08-25 20:47 UTCVendor advisory
- 2026-08-25 13:49 UTCEPSS rescore
- 2026-08-24 20:41 UTCEG score recompute
- 2026-08-24 20:41 UTCVendor advisory
- 2026-08-23 20:40 UTCEG score recompute
- 2026-08-23 20:40 UTCVendor advisory
- 2026-08-23 00:19 UTCEPSS rescore
- 2026-08-22 20:39 UTCEG score recompute
- 2026-08-21 23:49 UTCEPSS rescore
- 2026-08-21 20:38 UTCEG score recompute
- 2026-08-20 22:56 UTCEPSS rescore
- 2026-08-19 20:34 UTCEG score recompute
- 2026-08-19 17:04 UTCEPSS rescore
- 2026-08-18 19:00 UTCEG score recompute
- 2026-08-18 13:48 UTCEPSS rescore
- 2026-08-17 16:57 UTCEG score recompute
- 2026-08-17 13:47 UTCEPSS rescore
- 2026-08-16 16:56 UTCEG score recompute
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-15 16:55 UTCEG score recompute
- 2026-08-15 01:30 UTCEPSS rescore
- 2026-08-12 16:42 UTCEG score recompute
- 2026-08-12 13:51 UTCEPSS rescore
- 2026-08-11 16:41 UTCEG score recompute
- 2026-08-11 00:00 UTCEPSS rescore
- 2026-08-09 16:19 UTCEG score recompute
- 2026-08-09 13:47 UTCEPSS rescore
- 2026-08-08 16:37 UTCEPSS rescore
- 2026-08-08 16:18 UTCEG score recompute
- 2026-08-06 16:15 UTCEG score recompute
- 2026-08-06 13:47 UTCEPSS rescore
- 2026-08-05 19:17 UTCEPSS rescore
- 2026-08-05 19:17 UTCEPSS rescore
- 2026-08-04 16:13 UTCEG score recompute
- 2026-08-04 15:10 UTCEPSS rescore
- 2026-08-04 10:39 UTCEPSS rescore
- 2026-08-03 16:12 UTCEG score recompute
- 2026-08-03 10:36 UTCEPSS rescore
- 2026-08-02 16:11 UTCEG score recompute
- 2026-08-02 02:27 UTCEPSS rescore
- 2026-08-01 16:09 UTCEG score recompute
- 2026-08-01 04:16 UTCEPSS rescore
- 2026-07-31 16:08 UTCEG score recompute
- 2026-07-30 16:28 UTCEPSS rescore
- 2026-07-30 16:04 UTCEG score recompute
- 2026-07-30 01:30 UTCEPSS rescore
- 2026-07-28 15:59 UTCEG score recompute
- 2026-07-28 15:37 UTCEPSS rescore
- 2026-07-28 03:10 UTCEG score recompute
Frequently asked(5)
What is CVE-2026-65902?
When was CVE-2026-65902 disclosed?
Is CVE-2026-65902 actively exploited?
What is the CVSS score of CVE-2026-65902?
How do I remediate CVE-2026-65902?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-65902
Is Your Infrastructure Affected by CVE-2026-65902?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.