← Back to CVE search

CVE-2026-65903

DOMPurify

Description

DOMPurify before 3.4.0 contains a logic error in the ADD_TAGS function where short-circuit evaluation allows forbidden tags to bypass FORBID_TAGS restrictions. Attackers can craft input containing tags listed in FORBID_TAGS that are also added via ADD_TAGS function, causing them to be retained in sanitized output.

CVSS 6.1EPSS 0.2%Risk 0.62
View source
Published
2026-07-23 14:18:05
Affected versions
<3.4.0
Type
Library
Last modified
2026-07-28 15:51:38
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N