Descripción
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%Riesgo 0.62
Ver fuente- Publicación
- 2026-07-23 14:18:05
- Versiones afectadas
- <3.4.0
- Tipo
- Librería
- Última modificación
- 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