← Voltar à pesquisa de CVEs

CVE-2026-65898

DOMPurify

Descrição

DOMPurify before 3.4.11 fails to clone the ALLOWED_ATTR allowlist when setConfig() is used with an uponSanitizeAttribute hook, allowing the hook to permanently mutate the shared allowlist. Attackers can register a hook that conditionally allows dangerous attributes like onerror for trusted elements, then submit untrusted content that inherits the polluted allowlist and executes event handlers as stored XSS.

CVSS 7.2EPSS 0.167%Risco 0.73
Ver fonte
Publicação
2026-07-23 14:18:04
Versões afetadas
<3.4.11
Tipo
Biblioteca
Última alteração
2026-07-28 15:54:05
Vetor
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N