CVE-2026-65898
Last modified
CVE-2026-65898 is a high-severity vulnerability rated 7.2/10 on the CVSS scale. DOMPurify before 3.4.11 fails to clone the ALLOWED_ATTR allowlist when setConfig() is used with an uponSanitizeAttribute hook, allowing the hook to permanently mutate the shared allowlist. Attackers can register a hook that conditionally allows dangerous attributes like onerror for trusted elements, then submit untrusted content that inherits the polluted allowlist and executes event handlers as stored XSS.. EPSS estimates a 0.15% chance of exploitation in the next 30 days.
Description
DOMPurify before 3.4.11 fails to clone the ALLOWED_ATTR allowlist when setConfig() is used with an uponSanitizeAttribute hook, allowing the hook to permanently mutate the shared allowlist. Attackers can register a hook that conditionally allows dangerous attributes like onerror for trusted elements, then submit untrusted content that inherits the polluted allowlist and executes event handlers as stored XSS.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Cure53 | Dompurify | < 3.4.11 |
References
- https://github.com/cure53/DOMPurify/security/advisories/GHSA-cmwh-pvxp-8882Exploit, Third Party Advisory
- https://github.com/cure53/DOMPurify/security/advisories/GHSA-cmwh-pvxp-8882Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-65898?
How severe is CVE-2026-65898?
How do I fix CVE-2026-65898?
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-65891Joomla Extension - joomlacontenteditor.net - Creation of hid…6.5
- 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-65899DOMPurify 3.0.0 before 3.4.9 does not reset the retained Tru…6.1
- 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
Are you affected by CVE-2026-65898?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
