# DRUPAL-CONTRIB-2026-040 - This module enables sites to comply with the European cookie law using tarteaucitron.js. The…

Source: https://junglewise.ai/threats/drupal-contrib-2026-040-this-module-enables-sites-to-comply-with-the-9df41c5a  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-06-03  
License: CC BY 4.0 with a link back

Severity: info · Published 2026-06-03

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.

Technologies: [Packagist:Https://Packages.Drupal.Org/8 Drupal/Tacjs](https://junglewise.ai/threats/technologies/drupal-tacjs). Vendors: [Packagist:Https://Packages.Drupal.Org/8](https://junglewise.ai/threats/vendors/packagist-https-packages-drupal-org-8).

## Quick answers

**Is This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** Informational severity, published 3 June 2026.

**Which products and versions are affected?** Packagist:Https://Packages.Drupal.Org/8 Drupal/Tacjs ECOSYSTEM:introduced=0,fixed=6.8.0.

**Is there a fix for This vulnerability?** Yes. Packagist:Https://Packages.Drupal.Org/8 Drupal/Tacjs: upgrade to 6.8.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected?** Check whether you run Packagist:Https://Packages.Drupal.Org/8 Drupal/Tacjs at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Packagist:Https://Packages.Drupal.Org/8 Drupal/Tacjs: upgrade to 6.8.0 or later

## Affected products

- Packagist:Https://Packages.Drupal.Org/8 Drupal/Tacjs ECOSYSTEM:introduced=0,fixed=6.8.0

## Related threats

- [tarteaucitron.js URL scheme injection via unfiltered inputs](https://junglewise.ai/threats/cve-2025-31476-tarteaucitron-js-url-scheme-injection-via-unfiltered-inputs)
- [DRUPAL-CONTRIB-2024-016 - This module enables sites to comply with the European cookie law using tarteaucitron.js. The…](https://junglewise.ai/threats/cve-2024-13252-drupal-contrib-2024-016-this-module-enables-sites-to-comply-with)
- [DRUPAL-CONTRIB-2023-029 - This module enables sites to comply with the European cookie law using tarteaucitron.js. The…](https://junglewise.ai/threats/drupal-contrib-2023-029-this-module-enables-sites-to-comply-with-the-4a08baec)
