Drupal COOKiES Consent Management cross-site scripting in Video submodule

Severity: info · Published 2026-11-11

The COOKiES Consent Management module for Drupal manages user consent for external video embeds. A cross-site scripting (XSS) vulnerability in the Video submodule allows an authenticated attacker with specific permissions to inject malicious JavaScript that executes in the browsers of all site visitors, potentially stealing session tokens or performing unauthorized actions on their behalf.

Technologies: Packagist:Https://Packages.Drupal.Org/8 Drupal/Cookies. Vendors: Drupal, Packagist:Https://Packages.Drupal.Org/8.

Quick answers

Is This vulnerability exploited in the wild?
No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.
How severe is This vulnerability?
Informational severity, published 11 November 2026.
Which products and versions are affected?
Drupal COOKiES Consent Management before 1.2.17; Packagist:Https://Packages.Drupal.Org/8 Drupal/Cookies ECOSYSTEM:introduced=0,fixed=1.2.17.
Is there a fix for This vulnerability?
Yes. Packagist:Https://Packages.Drupal.Org/8 Drupal/Cookies: upgrade to 1.2.17 or later. Until then: Restrict permissions to create or modify content with video embed HTML elements until the module can be updated to version 1.2.17. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is This vulnerability attacked?
It is attacked over the network.
Am I affected?
Check whether you run Drupal COOKiES Consent Management or Packagist:Https://Packages.Drupal.Org/8 Drupal/Cookies at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • Packagist:Https://Packages.Drupal.Org/8 Drupal/Cookies: upgrade to 1.2.17 or later

Restrict permissions to create or modify content with video embed HTML elements until the module can be updated to version 1.2.17.

Technical details

The COOKiES Video submodule converts the `data-cookies-video-blazy-src` attribute to a `src` attribute for Blazy iframes but does not properly validate the protocol in this conversion path, allowing XSS injection. An attacker must have sufficient permissions to create or modify HTML elements with the specific class required to trigger the vulnerability. A fix is available in version 1.2.17.

Affected products

  • Drupal COOKiES Consent Management before 1.2.17

Timeline

  • 2026-11-11: disclosed

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.