ADVISORIES

Drupal Security Advisory

DRUPAL-CONTRIB-2026-334

Details

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.

Affected packages

EcosystemPackageAffected versions
Packagist:https://packages.drupal.org/8drupal/cookies
All versions before 1.2.17 (fixed in 1.2.17)

References