The COOKIES module protects users from executing JavaScript code provided by third parties, e.g., to display ads or track user data without consent.
Impact
The COOKIES module protects users from executing JavaScript code provided by third parties, e.g., to display ads or track user data without consent.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| Earlier releases before 1.2.15Ecosystem versions | 1.2.15 |
Version evidence: OSV · DRUPAL-CONTRIB-2025-076
View original version evidence (0 explicit versions)
Original source description
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).