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".
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
- Pierre Rudloff (prudloff) Provisional Member of the Drupal Security Team
- Greg Knaddison (greggles) of the Drupal Security Team
- Juraj Nemec (poker10) of the Drupal Security Team
- Cathy Theys (yesct) of the Drupal Security Team