Intel

AIKIDO-2025-10473

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

CVE-2025-48917Published Jul 17, 2025
July 17, 2025

60

CVE Score

Medium

Cross Site Scripting (XSS)

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.

How do I fix this?

Upgrade the drupal/eu_cookie_compliance library to the patch version.

Who does this affect?

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

Versions

1.0.0 - 1.25.0

Fixed in 1.26.0

Background info

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

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea