CVE-2026-65898

MEDIUM CVSS 4.0: 5.1 EPSS 0.15%
Updated Jul 23, 2026
DOMPurify
Parameter Value
CVSS 5.1 (MEDIUM)
Affected Versions before 3.4.11
Type CWE-79 (Cross-Site Scripting (XSS))
Vendor DOMPurify
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
Low
Basic privileges needed
User Interaction
Passive
Minimal interaction

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
None
No disruption

CVSS Vector v4.0