Vulnerability
CVE-2026-65903
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.
100 advisories report this vulnerability, across 9 ecosystems.
Advisories in Wolfi
- CGA-8w8v-ffc5-jpq6
- CGA-f2vv-qpx3-c9xp
- CGA-f94f-qg6m-mm67
- CGA-j75m-7h6v-5wfv
- CGA-r6fq-37q2-hj5c
- CGA-w6g9-2gxc-mrg9
- CGA-ww9w-7g95-2fpw
- CGA-x2c2-fqq9-mh28