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.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-697"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/65xxx/CVE-2026-65903.json"
}{
"cpe": "cpe:2.3:a:cure53:dompurify:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "3.4.0"
}
],
"source": [
"AFFECTED_FIELD",
"CPE_RANGE"
]
}