CVE-2025-48915: DRUPAL-CONTRIB-2025-076 - The COOKIES module protects users from executing JavaScript code provided by third parties…
CVE-2025-48915 · Severity: info · Published 2025-05-28
The COOKIES module protects users from executing JavaScript code provided by third parties, e.g., to display ads or track user data without consent.
Each sub-module allows to include a specific third party service in the consent management, by controlling the execution of javascript. However, this does not adequately check whether the provided JavaScript code originates from authorized users.
A potential attacker would at least need permission to create and publish HTML (e.g. content or comments).
Yes. Packagist:Https://Packages.Drupal.Org/8 Drupal/Cookies: upgrade to 1.2.15 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2025-48915?
Check whether you run 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.15 or later