CVE-2026-65899
Last modified
CVE-2026-65899 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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. EPSS estimates a 0.21% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
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/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
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Cure53 | Dompurify | >= 3.0.0, < 3.4.9 |
References
- https://github.com/cure53/DOMPurify/security/advisories/GHSA-vxr8-fq34-vvx9Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-65899?
How severe is CVE-2026-65899?
How do I fix CVE-2026-65899?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-65893This vulnerability exists in CP PLUS EZ-P21 IP Camera due to…7
- CVE-2026-65894This vulnerability exists in CP PLUS EZ-P21 IP Camera due to…8.7
- CVE-2026-65895Grav API Plugin versions before 1.0.10 fail to restrict writ…8.5
- CVE-2026-65896Grav API Plugin (Composer package getgrav/grav-plugin-api) b…7.1
- CVE-2026-65897Grav API Plugin versions before 1.0.10 fail to validate the …8.8
- CVE-2026-65898DOMPurify before 3.4.11 fails to clone the ALLOWED_ATTR allo…7.2
- CVE-2026-6590A vulnerability was detected in ComfyUI up to 0.13.0. This i…4.3
- CVE-2026-65900DOMPurify versions >=3.0.0 and before 3.4.8, when configured…6.1
- CVE-2026-65901DOMPurify through 3.4.6 contains a cross-site scripting vuln…6.1
- CVE-2026-65902DOMPurify before 3.4.7 (affected versions <= 3.4.5) passes d…6.1
- CVE-2026-65903DOMPurify before 3.4.0 contains a logic error in the ADD_TAG…6.1
- CVE-2026-65904DOMPurify through 3.3.3 fails to sanitize DOM elements passe…4.7
Are you affected by CVE-2026-65899?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
