PT-2026-57232 · Unknown · Tarteaucitron.Js
CVE-2026-49977
·
Published
2026-07-10
·
Updated
2026-07-23
CVSS v3.1
4.3
Medium
| Vector | AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
tarteaucitron.js versions prior to 1.33.0
Description
The software fails to verify if an element is a legitimate button or if the associated cookie belongs to a handled service when calling the
tarteaucitron.cookie.purge() function on elements with the purgeBtn class. An attacker capable of injecting HTML with data attributes can create an element using the data-cookie variable to silently delete a non-HttpOnly cookie with a known name when a user clicks it.Recommendations
Update to version 1.33.0.
Exploit
Fix
Improper Authorization
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Tarteaucitron.Js