Unrated

drupal/eu_cookie_compliance - SA-CONTRIB-2025-072

  • Disclosed: 28.05.2025
  • Updated: 11.10.2026 12:18

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".

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package drupal/eu_cookie_compliance < 1.26.0 1.26.0
Drupal module drupal/eu_cookie_compliance < 1.26.0 1.26.0

References

CVSS score -
Weakness (CWE)
-
Platform
Composer, Drupal
Package
drupal/eu_cookie_compliance
Disclosed
28.05.2025
Updated
11.10.2026 12:18

Sources and licenses

OSV / GitHub Advisory Database - DRUPAL-CONTRIB-2025-072 - CC BY-SA 2.0; code GPL-2.0-or-later

Vulnerability history: drupal/eu_cookie_compliance

All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
2
First → latest
03.2019 05.2025
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Unrated 2

Disclosures per year

  1. 2019: 1
  2. 2020: 0
  3. 2021: 0
  4. 2022: 0
  5. 2023: 0
  6. 2024: 0
  7. 2025: 1
  8. 2026: 0
  1. drupal/eu_cookie_compliance - SA-CONTRIB-2025-072 this entry
    Unrated CVE-2025-48917 < 1.26.0 1.26.0
  2. Unrated drupal-contrib-2019-033 < 1.3.0 1.3.0

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.