Vulnerability

CVE-2026-65898

mediumCVSS 4.0 5.1Published 23 Jul 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Cure53 dompurify

Weakness type

References

  • github.com /cure53/DOMPurify/security/advisories/GHSA-cmwh-pvxp-8882
  • www.vulncheck.com /advisories/dompurify-before-permanent-attribute-allowlist-…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning