CVE-2026-49977

tarteaucitron.js is a compliant and accessible cookie banner. Prior to 1.33.0, tarteaucitron.cookie.purge() is called on any element with the purgeBtn class and does not check whether the element is a legitimate tarteaucitron button or whether the cookie corresponds to a service handled by tarteaucitron. If an attacker can write HTML with data attributes, an element with data-cookie can silently delete a non-HttpOnly cookie with a known name when clicked by a user. This issue is fixed in version 1.33.0.
Configurations

No configuration.

History

24 Oct 2026, 20:10

Type Values Removed Values Added
Summary
  • (es) tarteaucitron.js es un banner de cookies conforme y accesible. Antes de 1.33.0, tarteaucitron.cookie.purge() se llama en cualquier elemento con la clase purgeBtn y no verifica si el elemento es un botón legítimo de tarteaucitron o si la cookie corresponde a un servicio gestionado por tarteaucitron. Si un atacante puede escribir HTML con atributos de datos, un elemento con data-cookie puede eliminar silenciosamente una cookie no HttpOnly con un nombre conocido cuando un usuario hace clic en él. Este problema está solucionado en la versión 1.33.0.

17 Jul 2026, 21:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-07-17 21:17

Updated : 2026-10-24 20:10


NVD link : CVE-2026-49977

Mitre link : CVE-2026-49977

CVE.ORG link : CVE-2026-49977


JSON object : View

Products Affected

No product.

CWE
CWE-285

Improper Authorization