—
DRUPAL-CONTRIB-2026-040
Details
This module enables sites to comply with the European cookie law using tarteaucitron.js.
The module doesn't sufficiently filter user-supplied markup inside of content leading to an attacker being able to delete arbitrary cookies.
This vulnerability is mitigated by the fact that an attacker needs to be able to insert specific data attributes in the page.
For additional information, see the [Github Security Advisory GHSA-jxj7-g6gm-49j7](https://github.com/AmauriC/tarteaucitron.js/security/advisories/GHSA-jxj7-g6gm-49j7) for the tarteaucitron.js library.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist:https://packages.drupal.org/8/drupal/tacjs
Introduced in:
0Fixed in: 6.8.0Upgrade drupal/tacjs to 6.8.0 or newer (ecosystem packagist:https://packages.drupal.org/8).