PT-2026-63988

CVE-2026-65902

·

Published

2026-06-15

·

Updated

2026-09-25

Description by

CVSS 3.1
6.1
Medium
MetricsAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions DOMPurify versions prior to 3.4.7
Description When the sanitize function is called without an explicit cfg.ALLOWED TAGS or cfg.ALLOWED ATTR array, direct references to the module-level DEFAULT ALLOWED TAGS and DEFAULT ALLOWED ATTR sets are passed to the uponSanitizeElement and uponSanitizeAttribute hooks via data.allowedTags and data.allowedAttributes. If a hook mutates these fields, it permanently expands the default allow-lists for the duration of the DOMPurify instance. Consequently, subsequent calls using the default configuration inherit these widened defaults, allowing attacker payloads containing the poisoned tag or attribute names to bypass sanitization. The state cannot be recovered using removeAllHooks(), clearConfig(), or by passing a new configuration; only the creation of a new DOMPurify instance resolves the state.
Recommendations Update to version 3.4.7 or later.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-76MC-F452-CXCM
ECHO-CF5D-0476-1B92
Found an issue in the description? Have something to add? Feel free to write us 👾