CVE-2025-48914 COOKiES Consent Management - Moderately critical - Cross Site Scripting - SA-CONTRIB-2025-075
An attacker can inject malicious scripts into pages via the COOKiES Consent Management module, potentially compromising user sessions.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-48914?
CVE-2025-48914 is a high-severity cross-site scripting vulnerability in Drupal COOKiES Consent Management, published on 13 Jun 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Drupal COOKiES Consent Management allows Cross-Site Scripting (XSS).This issue affects COOKiES Consent Management: from 0.0.0 before 1.2.15.
Weakness: CWE-79
Which versions are affected by CVE-2025-48914?
It affects 1 product.
Linux distribution packages (1)
drupal/cookies Packagist:https://packages.drupal.org/8 | All versions | 1.2.15 |
Products include Drupal Cookies Consent Management.
How do I fix CVE-2025-48914?
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-48914 being exploited?
There is no known exploitation of CVE-2025-48914 in the wild and no public exploit code.
Other vulnerabilities in Drupal COOKiES Consent Management
Sources
Also known as DRUPAL-CONTRIB-2025-075, GHSA-vrqj-vmcj-7cxx.