---
cve: "CVE-2026-65899"
severity: "MEDIUM"
cvss: 5.1
epss: "23%"
vendor: "cure53"
kev: false
exploited: false
published: "2026-07-23 14:18:04"
tags: [cve, security, medium]
source: tsecurity.de CVE-Dossier
exported: "2026-09-11T12:23:14+02:00"
---

# CVE-2026-65899

> 5.1 MEDIUM · 🧪 PoC

## Beschreibung

DOMPurify 3.0.0 before 3.4.9 does not reset the retained Trusted Types policy when clearConfig() is called, so a DOMPurify instance reused across trust boundaries stays bound to a previously supplied TRUSTED_TYPES_POLICY. A later caller that requests RETURN_TRUSTED_TYPE output receives a TrustedHTML object created by the old (potentially unsafe) policy rather than a clean default, which can lead to script execution at a Trusted Types sink. Passing TRUSTED_TYPES_POLICY: null on the later call also does not clear the retained policy.

## CVSS-Vektor

```
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Keine | bad |

## Patch verfügbar (OSV)

- 52102472d46035857c52df19e44285f8a1e102fc (Commit)
- 825e617753ac1169306a542d3174a77f717a0cf6 (Commit)

## Referenzen

- <https://github.com/cure53/DOMPurify/security/advisories/GHSA-vxr8-fq34-vvx9>
- <https://github.com/cure53/DOMPurify/commit/825e617753ac1169306a542d3174a77f717a0cf6>
- <https://www.vulncheck.com/advisories/dompurify-before-trusted-types-policy-state-contamination>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2026-65899) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
