ADVISORIES

Drupal Security Advisory

DRUPAL-CONTRIB-2025-076

Details

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).

Affected packages

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

References