[Security-news] EU Cookie Compliance (GDPR Compliance) - Moderately critical - Cross Site Scripting - SA-CONTRIB-2025-072

security-news at drupal.org security-news at drupal.org
Wed May 28 17:43:45 UTC 2025


View online: https://www.drupal.org/sa-contrib-2025-072

Project: EU Cookie Compliance (GDPR Compliance) [1]
Date: 2025-May-28
Security risk: *Moderately critical* 13 ∕ 25
AC:Complex/A:User/CI:Some/II:Some/E:Theoretical/TD:All [2]
Vulnerability: Cross Site Scripting

Affected versions: <1.26.0
CVE IDs: CVE-2025-48917
Description: 
This module addresses the General Data Protection Regulation (GDPR) and the
EU Directive on Privacy and Electronic Communications.

The module doesn't sufficiently verify whether "disabled JavaScript" entries
are valid or correspond to actual scripts on the page. As a result, an
attacker could  inject and execute arbitrary JavaScript by adding invalid or
non-existent entries, which the module then attempts to process.

This vulnerability is mitigated by the fact that an attacker must have a role
with the permission "Administer EU Cookie Compliance banner".

Solution: 
Install the latest version:

  * If you use EU Cookie Compliance (GDPR Compliance) module for Drupal 10+,
    upgrade to EU Cookie Compliance (GDPR Compliance) 8.x-1.26 [3]

Reported By: 
  * Pierre Rudloff (prudloff) [4]

Fixed By: 
  * Grant McEwan (atowl) [5]

Coordinated By: 
  * Greg Knaddison (greggles) [6] of the Drupal Security Team
  * Juraj Nemec (poker10) [7] of the Drupal Security Team
  * Cathy Theys (yesct) [8] of the Drupal Security Team


[1] https://www.drupal.org/project/eu_cookie_compliance
[2] https://www.drupal.org/security-team/risk-levels
[3] https://www.drupal.org/project/eu_cookie_compliance/releases/8.x-1.26
[4] https://www.drupal.org/u/prudloff
[5] https://www.drupal.org/u/atowl
[6] https://www.drupal.org/u/greggles
[7] https://www.drupal.org/u/poker10
[8] https://www.drupal.org/u/yesct



More information about the Security-news mailing list