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

17 Jul 2026, 21:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-07-17 21:17

Updated : 2026-07-20 19:17


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