Not scored
COOKiES Consent Management - Moderately critical - Cross-site scripting - SA-CONTRIB-2026-334
- Severity
- Not scored
- Exploit likelihood
- 0.26% (higher than 19% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- drupal
- Also known as
- DRUPAL-CONTRIB-2026-334
Description
Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting") vulnerability in Drupal COOKiES Consent Management allows Cross-Site Scripting (XSS). This issue affects COOKiES Consent Management versions: from 0.0.0 to 1.2.17.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Drupal COOKiES Consent Management | from 0.0.0 before 1.2.17 | CVE List |
| drupal/cookies (Packagist:https://packages.drupal.org/8) | before 1.2.17 | Drupal Security Team |
Classification
What each source says
CVE List
Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting") vulnerability in Drupal COOKiES Consent Management allows Cross-Site Scripting (XSS). This issue affects COOKiES Consent Management versions: from 0.0.0 to 1.2.17.
Drupal Security Team
This module enables you to manage user consent for external services, such as embedded videos. The COOKiES Video submodule blocks external video elements until the visitor accepts the consent banner, then re-enables them.
The module doesn't sufficiently check the value of the data-cookies-video-blazy-src attribute when it converts it back to a src attribute for Blazy iframes. The protocol check added in SA-CONTRIB-2025-092 covered the other conversion paths but missed this one.
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 that element must have a specific class set.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-126743 changed 2026-11-26 | CVE Terms of Use |
| Drupal Security Team | DRUPAL-CONTRIB-2026-334 changed 2026-11-26 | MIT |