CVE-2026-49977

MEDIUM CVSS 3.1: 4.3 EPSS 0.35%
Updated Oct 24, 2026
tarteaucitron
Parameter Value
CVSS 4.3 (MEDIUM)
Fixed In 1.33.0
Type CWE-285 (Improper Authorization)
Vendor tarteaucitron
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
None
No data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v3.1