VDB
Sign up
—

DRUPAL-CONTRIB-2025-049

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.

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

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist:https://packages.drupal.org/8/drupal/cookies
Introduced in: 0Fixed in: 1.2.14

Upgrade drupal/cookies to 1.2.14 or newer (ecosystem packagist:https://packages.drupal.org/8).

References