MTIby Motiontic
Colour theme
VulnerabilityCVE-2026-65898GHSA-cmwh-pvxp-8882

DOMPurify before 3.4.11 Permanent Attribute Allowlist Pollution via setConfig

Not on CISA KEVCVSS 7.2 (v3.1)
  • Overview

Summary

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

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • CVE List Source: CVE Program (cve.org)
  • GitHub Advisory DB Source: GitHub Advisory Database (CC BY 4.0)
  • Red Hat Source: Red Hat Security Data (CC BY 4.0)