Descrizione
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.
Tipo di vulnerabilità
CWE-697
Confronto errato
Il prodotto confronta due elementi in un contesto rilevante per la sicurezza, ma il confronto è errato.
Impatto sui sistemi
| Ambito | Impatto |
| Altro |
Dipende dal contesto Un confronto errato può dare origine ad altre vulnerabilità. |
Tutte le 172 CVE di tipo CWE-697, con andamento e prevenzione