drupal/cookies - SA-CONTRIB-2025-092
This module allows you to manage video media items using the COOKiES module (disabling external video elements). These elements will be enabled again, once the COOKiES banner is accepted.
The module doesn't sufficiently check whether to convert "data-src" attributes to "src" when their value might contain malicious content under the scenario, that module specific classes are set on the HTML element.
This vulnerability is mitigated by the fact that an attacker must have the correct permissions to have a specific HTML element display for all users, and this HTML element needs to have a specific class set.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | drupal/cookies | < 1.2.16 | 1.2.16 |
| Drupal module | drupal/cookies | < 1.2.16 | 1.2.16 |
References
- Weakness (CWE)
-- Platform
- Composer, Drupal
- Package
drupal/cookies- Disclosed
- 23.07.2025
- Updated
- 11.10.2026 12:18
Sources and licenses
OSV / GitHub Advisory Database - DRUPAL-CONTRIB-2025-092 - CC BY-SA 2.0; code GPL-2.0-or-later
Vulnerability history: drupal/cookies
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
- 4
- First → latest
- 05.2025 07.2025
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Unrated 4
Disclosures per year
- 2025: 4
- 2026: 0
-
drupal/cookies - SA-CONTRIB-2025-092 this entry
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.