Intel

AIKIDO-2025-10473

drupal/eu_cookie_compliance is vulnerable to Cross Site Scripting (XSS)

Cross Site Scripting (XSS)CVE-2025-48917 Published Jul 17, 2025

60

Medium Risk

This Affects:

PHPdrupal/eu_cookie_compliance
1.0.0 - 1.25.0
Fixed in 1.26.0
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to cross-site scripting (XSS). The module fails to properly validate "disabled JavaScript" entries, allowing attackers to inject and execute arbitrary JavaScript by submitting invalid or non-existent script references, which the module attempts to process. The vulnerability is mitigated by the requirement that an attacker must have a role with the "Administer EU Cookie Compliance banner" permission.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

drupal/eu_cookie_compliance is vulnerable to Cross Site Scripting (XSS) in versions 1.0.0 - 1.25.0.

How to fix this

Upgrade the drupal/eu_cookie_compliance library to the patch version.