PT-2026-63989 · Dompurify · Dompurify

CVE-2026-65903

·

Published

2026-04-16

·

Updated

2026-07-23

CVSS v3.1

6.1

Medium

VectorAV: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.0
Description A logic error exists in the ADD TAGS function where short-circuit evaluation allows tags listed in FORBID TAGS to bypass restrictions. This occurs when tags are simultaneously listed in both FORBID TAGS and added via the ADD TAGS function, resulting in the forbidden tags being retained in the sanitized output.
Recommendations Update to version 3.4.0 or later.

Exploit

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-65903
GHSA-39Q2-94RC-95CP

Affected Products

Dompurify