drupal/cookies_addons - SA-CONTRIB-2025-087
This module provides a format filter, which allows you to "disable" iframes (e.g. remove their src attribute) specified by the user. These elements will be enabled again, once the Cookies banner is accepted.
The module doesn't sufficiently filter user-supplied content when their value might contain malicious content leading to a Cross-site Scripting (XSS) vulnerability.
This vulnerability is mitigated by the fact that the site must have the Cookies Addons Embed Iframe submodule enabled and an attacker must have the correct permissions to use a text field with a text format that allows iframes to be used.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | drupal/cookies_addons | >= 1.0.0, < 1.2.4 | 1.2.4 |
| Drupal module | drupal/cookies_addons | >= 1.0.0, < 1.2.4 | 1.2.4 |
References
- Weakness (CWE)
-- Platform
- Composer, Drupal
- Package
drupal/cookies_addons- Disclosed
- 09.07.2025
- Updated
- 11.10.2026 12:18
Sources and licenses
OSV / GitHub Advisory Database - DRUPAL-CONTRIB-2025-087 - CC BY-SA 2.0; code GPL-2.0-or-later
Vulnerability history: drupal/cookies_addons
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
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.