View online: https://www.drupal.org/sa-contrib-2025-027
Project: TacJS [1] Date: 2025-April-02 Security risk: *Moderately critical* 13 ∕ 25 AC:Basic/A:User/CI:Some/II:Some/E:Theoretical/TD:Default [2] Vulnerability: Cross Site Scripting
Affected versions: <6.7.0 CVE IDs: CVE-2025-31476 Description: 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 a persistent Cross Site Scripting (XSS) vulnerability.
This vulnerability is mitigated by the fact that an attacker needs to be able to insert specific data attributes in the page.
Solution: Install the latest version:
* If you use the tacjs module for Drupal 8.x, upgrade to tacjs 8.x-6.7 [3]
Reported By: * Pierre Rudloff (prudloff) [4]
Fixed By: * Frank Mably (mably) [5] * Pierre Rudloff (prudloff) [6]
Coordinated By: * Greg Knaddison (greggles) [7] of the Drupal Security Team * Drew Webber (mcdruid) [8] of the Drupal Security Team * Juraj Nemec (poker10) [9] of the Drupal Security Team
Security issue: https://git.drupalcode.org/security/8-tacjs-security/-/issues/1 [10]
[1] https://www.drupal.org/project/tacjs [2] https://www.drupal.org/security-team/risk-levels [3] https://www.drupal.org/node/3516872 [4] https://www.drupal.org/u/prudloff [5] https://www.drupal.org/u/mably [6] https://www.drupal.org/u/prudloff [7] https://www.drupal.org/u/greggles [8] https://www.drupal.org/u/mcdruid [9] https://www.drupal.org/u/poker10 [10] https://git.drupalcode.org/security/8-tacjs-security/-/issues/1