[Security-news] COOKiES Consent Management - Moderately critical - Cross Site Scripting - SA-CONTRIB-2025-049
security-news at drupal.org
security-news at drupal.org
Wed May 7 17:06:39 UTC 2025
View online: https://www.drupal.org/sa-contrib-2025-049
Project: COOKiES Consent Management [1]
Date: 2025-May-07
Security risk: *Moderately critical* 13 ∕ 25
AC:Basic/A:User/CI:Some/II:Some/E:Theoretical/TD:Default [2]
Vulnerability: Cross Site Scripting
Affected versions: <1.2.14
CVE IDs: CVE-2025-47703
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.
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).
Solution:
Install the latest version:
* If you use the COOKiES Consent Management module for Drupal 9 or above,
upgrade to COOKiES Consent Management 1.2.14 [3]
Reported By:
* Pierre Rudloff (prudloff) [4]
Fixed By:
* Joachim Feltkamp (jfeltkamp) [5]
Coordinated By:
* Greg Knaddison (greggles) [6] of the Drupal Security Team
* Juraj Nemec (poker10) [7] of the Drupal Security Team
[1] https://www.drupal.org/project/cookies
[2] https://www.drupal.org/security-team/risk-levels
[3] https://www.drupal.org/project/cookies/releases/1.2.14
[4] https://www.drupal.org/u/prudloff
[5] https://www.drupal.org/u/jfeltkamp
[6] https://www.drupal.org/u/greggles
[7] https://www.drupal.org/u/poker10
More information about the Security-news
mailing list