Cross-Site Scripting Vulnerability in DOMPurify by Cure53
CVE-2026-65911

5.1MEDIUM

Key Information:

Vendor

Cure53

Status
Vendor
CVE Published:
23 July 2026

What is CVE-2026-65911?

The vulnerable version of DOMPurify (up to 3.3.3) exhibits a critical flaw where the function predicates supplied through ADD_ATTR or ADD_TAGS can persist across multiple sanitize() calls on the same instance. This persistence allows attacker-controlled attributes or tags to bypass sanitization checks, thereby enabling the injection of dangerous event-handler attributes or forbidden tags. Consequently, this creates a potential vector for cross-site scripting attacks, as the previously set function handlers are not properly cleared or replaced when new parameters are provided as arrays. Users are urged to upgrade to version 3.4.0 or higher to mitigate this issue.

Affected Version(s)

DOMPurify 0 < 3.4.0

DOMPurify 3.4.0

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

offset
.