Vulnerabilities/

tarteaucitron: data-cookie attribute can be used to delete arbitrary cookies

Severity:
Medium

Description

tarteaucitron provides a list of cookies and buttons to delete them. If an attacker can write HTML with data attributes, they could create an element that silently deletes a cookie when clicked and trick a user to delete this cookie.

Recommendation

Update the tarteaucitronjs package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
tarteaucitronjs
Anything's wrong? Let us know Last updated on July 10, 2026