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

Source: https://junglewise.ai/threats/cve-2025-47703-drupal-contrib-2025-049-the-cookies-module-protects-users-from  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-05-07  
License: CC BY 4.0 with a link back

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](https://junglewise.ai/threats/technologies/drupal-cookies). Vendors: [Packagist:Https://Packages.Drupal.Org/8](https://junglewise.ai/threats/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

## Related threats

- [Drupal COOKiES Consent Management cross-site scripting in Video submodule](https://junglewise.ai/threats/drupal-contrib-2026-334-this-module-enables-you-to-manage-user-consent-be1ec0da)
- [DRUPAL-CONTRIB-2025-092 - This module allows you to manage video media items using the COOKiES module (disabling…](https://junglewise.ai/threats/cve-2025-8092-drupal-contrib-2025-092-this-module-allows-you-to-manage-video)
- [DRUPAL-CONTRIB-2025-076 - The COOKIES module protects users from executing JavaScript code provided by third parties…](https://junglewise.ai/threats/cve-2025-48915-drupal-contrib-2025-076-the-cookies-module-protects-users-from)
- [DRUPAL-CONTRIB-2025-075 - This module provides a format filter, which allows you to "disable" certain HTML elements…](https://junglewise.ai/threats/cve-2025-48914-drupal-contrib-2025-075-this-module-provides-a-format-filter)
