CVE-2026-49977: tarteaucitron.js: data-cookie attribute can be used to delete arbitrary cookies
AmauriC · tarteaucitron.js
Affected: AmauriC tarteaucitron.js · Exploitation: unlikely (under 1%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 29% of scored CVEs
DescriptionCVE.org
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.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- AmauriC · tarteaucitron.js< 1.33.0
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
CoverageNo articles yet
No CyberSIXT article names CVE-2026-49977 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-285cwe.mitre.org
- github.com/AmauriC/tarteaucitron.js/security/advisories/GHSA-jxjgithub.com
- github.com/AmauriC/tarteaucitron.js/commit/24b5464400ae2ff1ad96agithub.com
- github.com/AmauriC/tarteaucitron.js/releases/tag/v1.33.0github.com
- drupal.org/sa-contrib-2026-040drupal.org