CVE-2025-47703: DRUPAL-CONTRIB-2025-049 - The COOKIES module protects users from executing JavaScript code provided by third parties…

CVE-2025-47703 · Severity: info · Published 2025-05-07

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

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

Quick answers

Is CVE-2025-47703 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-47703 being exploited in the wild.
How severe is CVE-2025-47703?
Informational severity, published 7 May 2025.
Which products and versions are affected?
Packagist:Https://Packages.Drupal.Org/8 Drupal/Cookies ECOSYSTEM:introduced=0,fixed=1.2.14.
Is there a fix for CVE-2025-47703?
Yes. Packagist:Https://Packages.Drupal.Org/8 Drupal/Cookies: upgrade to 1.2.14 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2025-47703?
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.14 or later

Affected products

  • Packagist:Https://Packages.Drupal.Org/8 Drupal/Cookies ECOSYSTEM:introduced=0,fixed=1.2.14

Identifiers

  • CVE-2025-47703
  • DRUPAL-CONTRIB-2025-049

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