Unrated

drupal/eu_cookie_compliance - SA-CONTRIB-2019-033

  • Disclosed: 06.03.2019
  • Updated: 11.10.2026 12:18

This module addresses the General Data Protection Regulation (GDPR) that came into effect 25th May 2018, and the EU Directive on Privacy and Electronic Communications from 2012. It provides a banner where you can gather consent from the user when the website stores cookies on their computer or otherwise handles their personal information.

The module doesn't sufficiently sanitize data for some interface labels and strings shown in the cookie policy banner, opening up possibility of Cross Site Scripting exploits that can be created by somebody that has access to the admin interface of the module.

This vulnerability is mitigated by the fact that an attacker must have a role with the permission "Administer EU Cookie Compliance banner". For Drupal 8, the vulnerability also requires access to a text format that doesn't sanitize data.

Affected software

Click a technology to see all vulnerabilities affecting it.

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

References

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

Sources and licenses

OSV / GitHub Advisory Database - DRUPAL-CONTRIB-2019-033 - 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. Unrated CVE-2025-48917 < 1.26.0 1.26.0
  2. drupal/eu_cookie_compliance - SA-CONTRIB-2019-033 this entry
    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.