DOMPurify Vulnerability in Allowlist Handling Affecting Cure53
CVE-2026-65898

5.1MEDIUM

Key Information:

Vendor

Cure53

Status
Vendor
CVE Published:
23 July 2026

What is CVE-2026-65898?

The issue arises when DOMPurify versions prior to 3.4.11 improperly handle the ALLOWED_ATTR allowlist during the setConfig() process, particularly when used with an uponSanitizeAttribute hook. This can lead to a scenario where an attacker can modify the shared allowlist to enable harmful attributes, such as onerror, for trusted elements. By submitting untrusted content that inherits this compromised allowlist, the attacker can execute malicious payloads through stored XSS attacks, thereby posing significant security risks to web applications relying on DOMPurify for data sanitization.

Affected Version(s)

DOMPurify 0 < 3.4.11

DOMPurify 3.4.11

References

CVSS V4

Score:
5.1
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

trace37labs
.