CVE-2026-65898

published 23 Jul 2026 · updated 23 Jul 2026

DOMPurify before 3.4.11 Permanent Attribute Allowlist Pollution via setConfig

7.2HighCVSS 7.2EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 3.4.11.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
cure53<3.4.113.4.11

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-65898 severity on Zeptric[![CVE-2026-65898](https://zeptric.io/badge/cve/CVE-2026-65898.svg)](https://zeptric.io/cve/CVE-2026-65898)