Unrated

drupal/cookies - SA-CONTRIB-2025-049

  • Disclosed: 07.05.2025
  • Updated: 11.10.2026 12:18

The COOKIES module protects users from executing JavaScript code provided by third parties, e.g., to display ads or track user data without consent.

The cookies_asset_injector module (a sub-module of the COOKiES module) also allows inline JavaScript to be included in consent management. 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 software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package drupal/cookies < 1.2.14 1.2.14
Drupal module drupal/cookies < 1.2.14 1.2.14

References

CVSS score -
Weakness (CWE)
-
Platform
Composer, Drupal
Package
drupal/cookies
Disclosed
07.05.2025
Updated
11.10.2026 12:18

Sources and licenses

OSV / GitHub Advisory Database - DRUPAL-CONTRIB-2025-049 - CC BY-SA 2.0; code GPL-2.0-or-later

Vulnerability history: drupal/cookies

All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
4
First → latest
05.2025 07.2025
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Unrated 4

Disclosures per year

  1. 2025: 4
  2. 2026: 0
  1. Unrated CVE-2025-8092 < 1.2.16 1.2.16
  2. Unrated CVE-2025-48915 < 1.2.15 1.2.15
  3. Unrated CVE-2025-48914 < 1.2.15 1.2.15
  4. drupal/cookies - SA-CONTRIB-2025-049 this entry
    Unrated CVE-2025-47703 < 1.2.14 1.2.14

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.