CVE-2026-49977
tarteaucitron.js is a compliant and accessible cookie banner. Prior …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/AmauriC/tarteaucitron.js/security/advisories/GHSA-jxj7-g6gm-49j7
- github.com/advisories/GHSA-jxj7-g6gm-49j7
- github.com/AmauriC/tarteaucitron.js/commit/24b5464400ae2ff1ad96a092c629b9d632b9cc93
- github.com/AmauriC/tarteaucitron.js/releases/tag/v1.33.0
- www.drupal.org/sa-contrib-2026-040
- nvd.nist.gov/vuln/detail/CVE-2026-49977
- cve.org/CVERecord?id=CVE-2026-49977
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.