CVE-2026-65898
Published:July 23, 2026
Updated:July 24, 2026
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 Packages
dompurify (CDN_JS):
Affected version(s) >=0.7.0 <3.4.11Fix Suggestion:
Update to version 3.4.11https://github.com/cure53/DOMPurify.git (GITHUB):
Affected version(s) >=v0.3 <3.4.11Fix Suggestion:
Update to version 3.4.11dompurify (NPM):
Affected version(s) >=0.4.0 <3.4.11Fix Suggestion:
Update to version 3.4.11dompurify (NPM):
Affected version(s) >=0.4.0 <3.4.11Fix Suggestion:
Update to version 3.4.11Related Resources (6)
Do you need more information?
Contact UsCVSS v4
Base Score:
5.1
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
PASSIVE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
LOW
Subsequent System Integrity
LOW
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.2
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
EPSS
Base Score:
0.15