ADVISORIES

Debian Security Tracker

DEBIAN-CVE-2026-65903

Details

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.

Affected packages

EcosystemPackageAffected versions
Debian:12node-dompurify
All versions, no fix listed
Debian:13node-dompurify
All versions, no fix listed
Debian:14node-dompurify
All versions before 3.4.1+dfsg-1 (fixed in 3.4.1+dfsg-1)

References