ADVISORIES

Vulnerability

CVE-2026-65898

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.

184 advisories report this vulnerability, across 8 ecosystems.

Advisories in Red Hat

  • RHSA-2026:58500

    Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update

    CVE-2026-65898CVE-2026-65899CVE-2026-65901CVE-2026-65902 Red Hat Updated 26 November 2026
  • RHSA-2026:58502

    Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update

    CVE-2026-65898CVE-2026-65899CVE-2026-65901CVE-2026-65902 Red Hat Updated 26 November 2026
  • RHVEX-CVE-2026-65898

    dompurify: DOMPurify: Cross-site scripting via permanent attribute allowlist pollution

    Moderate CVE-2026-65898 Red Hat Updated 26 November 2026

References