CVE-2025-48917 EU Cookie Compliance (GDPR Compliance) - Moderately critical - Cross Site Scripting - SA-CONTRIB-2025-072

Medium 5.0 Published Updated

An attacker can inject malicious scripts into the EU Cookie Compliance module, potentially compromising user sessions or site integrity.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-48917?

CVE-2025-48917 is a medium-severity cross-site scripting vulnerability in Drupal EU Cookie Compliance (GDPR Compliance), published on 13 Jun 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Drupal EU Cookie Compliance (GDPR Compliance) allows Cross-Site Scripting (XSS).This issue affects EU Cookie Compliance (GDPR Compliance): from 0.0.0 before 1.26.0.

Weakness: CWE-79

Which versions are affected by CVE-2025-48917?

It affects 1 product.

Linux distribution packages (1)
drupal/eu_cookie_compliance Packagist:https://packages.drupal.org/8All versions1.26.0

Products include Freelance-It-Consultant Eu Cookie Compliance.

How do I fix CVE-2025-48917?

Upgrade to a fixed version.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2025-48917 being exploited?

There is no known exploitation of CVE-2025-48917 in the wild and no public exploit code.

Sources

Also known as DRUPAL-CONTRIB-2025-072, GHSA-8pgm-2gj7-4gwj.

Is CVE-2025-48917 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free