Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-65898
VULNERABILITY

CVE-2026-65898

Common Vulnerabilities and Exposures record

MEDIUM

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 elements, then submit untrusted content that inherits the polluted allowlist and executes event handlers as stored XSS.

Risk

CVSS
5.1
Severity
MEDIUM
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Timeline

Published
Jul 23, 2026 14:18
Modified
Oct 24, 2026 13:10
Last observed
Oct 24, 2026 12:59

CWE

CWE-79

Affected product identifiers

cpe:2.3:a:cure53:dompurify:*:*:*:*:*:*:*:*

References