Policy State Contamination in DOMPurify Affects Trust Boundaries
CVE-2026-65899

5.1MEDIUM

Key Information:

Vendor

Cure53

Status
Vendor
CVE Published:
23 July 2026

What is CVE-2026-65899?

A vulnerability in DOMPurify versions 3.0.0 up to 3.4.8 allows for the retention of a previously set Trusted Types policy across different trust boundaries. When the clearConfig() method is invoked, the trusted type policy is not reset, which results in the potential for unsafe TrustedHTML objects to be returned, thus enabling unmonitored script execution. This critical flaw in handling Trusted Types can lead to major security vulnerabilities if not addressed, making it crucial for developers to ensure proper sanitization and policy management across their applications.

Affected Version(s)

DOMPurify 0 < 3.4.9

DOMPurify 3.4.9

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
.