Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify Drupal site with AI module
-
DeliveryCraft XSS payload in injectable parameter
-
ExploitDeliver malicious URL to target user
-
ExecutionVictim loads page triggering unsanitized render
-
PersistInjected script executes in victim browser
-
ImpactExfiltrate session token or perform actions as victim
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. |
| Exploitation Conditions | Exploitation requires that the target Drupal site has the AI (Artificial Intelligence) contributed module installed and enabled in an affected version (0.0.0-pre-1.2.17, 1.3.0-pre-1.3.8, or 1.4.0-pre-1.4.3). The victim must interact with a page or URL that causes the module to render unsanitized input in the browser - this constitutes the required user interaction (UI:R). The attacker requires no authentication (PR:N) and no special account on the target site. Exploitation is limited by: the module must be installed (not present in default Drupal installations), a victim must be induced to visit the malicious URL or interact with the affected page, and impact is bounded to the browser session context rather than direct server-side code execution. |
| Impact | Real-world risk is moderate despite a medium CVSS of 6.1. The CVSS vector (AV:N/AC:L/PR:N/UI:R/S:C) confirms network-accessible, low-complexity exploitation requiring no authentication, but the mandatory user interaction (UI:R) is the key limiting factor - a victim must navigate to or interact with a crafted or compromised page. EPSS at 0.16% (6th percentile) aligns with no observed exploitation in the wild and no KEV listing, indicating this has not been operationalized by threat actors as of this analysis. No public POC is referenced in the available intelligence. The combination of PR:N and AV:N means the attack surface is broad for any internet-facing Drupal site running the AI module, but the UI:R requirement reduces the likelihood of opportunistic mass exploitation compared to a fully unauthenticated, no-interaction flaw. The confidentiality and integrity impacts are limited (C:L/I:L), consistent with session theft or targeted page defacement rather than full server compromise. Overall, this is a credible phishing-amplification or session-hijacking risk for sites exposing AI module functionality to untrusted users, but not an imminent mass-exploitation priority given current signals. |
| Exploit ScenarioDerived | An attacker crafts a malicious URL or submits input to a Drupal page that triggers the AI module to reflect unsanitized content back into the HTML response. When a logged-in Drupal user (such as a site administrator or editor) is socially engineered into visiting the crafted URL, the injected JavaScript executes in their browser, potentially stealing their session cookie or performing privileged actions on their behalf within the Drupal site. No public proof-of-concept code is referenced in the available intelligence, but the attack complexity is low once the injectable parameter is identified. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 13, 2026
Cross-site scripting in the Drupal AI (Artificial Intelligence) contributed module exposes sites to session hijacking and malicious content injection when users interact with unsanitized AI-generated or AI-related output rendered in the browser. The module fails to properly neutralize user-controlled or AI-sourced input before including it in generated web pages, allowing an unauthenticated remote attacker to craft a payload that executes in a victim's browser upon interaction. No active exploitation is confirmed (not in CISA KEV) and EPSS is very low at 0.16% (6th percentile), though the network-accessible, no-privilege attack surface warrants prompt patching on internet-facing Drupal deployments.
RemediationAI
Upgrade the Drupal AI module to a patched release per the active branch in use: 1.2.17 or later for the 1.2.x branch, 1.3.8 or later for the 1.3.x branch, or 1.4.3 or later for the 1.4.x branch. The Drupal security advisory at https://www.drupal.org/sa-contrib-2026-054 should be consulted for the canonical upgrade path and any branch-specific guidance. If immediate upgrade is not feasible, a temporary workaround is to disable or restrict access to the AI module features that render user-influenced or AI-generated content in unauthenticated page contexts - this reduces the exploitable surface but may impair AI functionality. Content Security Policy (CSP) headers configured to block inline scripts can meaningfully reduce the impact of any residual XSS by preventing injected scripts from executing, though this does not address the underlying input sanitization defect. Disabling the module entirely is the most conservative compensating control if the risk window must be maintained for an extended period.
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 affected component is the Drupal AI (Artificial Intelligence) contributed module, identified by CPE cpe:2.3:a:drupal:ai_(artificial_intelligence):*:*:*:*:*:*:*:*. This module integrates large language model or AI provider functionality into Drupal CMS, rendering AI-generated or AI-augmented content in web page contexts. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation), meaning the module does not apply adequate output encoding or contextual escaping before embedding dynamic content into HTML. The CVSS scope change (S:C) signals that the exploit crosses from the server context into the victim's browser context - the hallmark of reflected or stored XSS - allowing attacker-controlled JavaScript to execute in the victim's browser session. Three distinct version branches are affected: 0.x through pre-1.2.17, 1.3.x through pre-1.3.8, and 1.4.x through pre-1.4.3.
Know when Ai Artificial Intelligence 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:R/S:C/C:L/I:L/A:N
Network-accessible with no auth required; victim interaction mandatory; scope changes to browser; confidentiality and integrity limited to session/page context, no availability impact.
Primary rating from Vendor (drupal).
CVSS VectorVendor: drupal
Lifecycle Timeline
3DescriptionCVE.org
Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting") vulnerability in Drupal AI (Artificial Intelligence) allows Cross-Site Scripting (XSS). This issue affects AI (Artificial Intelligence) versions: from 0.0.0 to 1.2.17, from 1.3.0 to 1.3.8, from 1.4.0 to 1.4.3.
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 Ai Artificial Intelligence
View allDrupal AI module versions 0.0.0 before 1.1.11 and 1.2.0 before 1.2.12 contain an incorrect authorization vulnerability (
The Drupal AI (Artificial Intelligence) contrib module performs insufficient authorization checks on at least one of its
Forceful browsing exposure in Drupal's AI (Artificial Intelligence) contributed module permits high-privileged authentic
Stored cross-site scripting in the Drupal AI (Artificial Intelligence) contrib module affects versions 0.0.0 through 1.3
Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting") vulnerability in Drupal AI (Artific
Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting") vulnerability in Drupal AI (Artific
Incorrect Authorization vulnerability in Drupal AI (Artificial Intelligence) allows Resource Injection. This issue affec
Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting") vulnerability in Drupal AI (Artific
Use of Web Browser Cache Containing Sensitive Information vulnerability in Drupal AI (Artificial Intelligence) allows Ex
Insecure Storage of Sensitive Information vulnerability in Drupal AI (Artificial Intelligence) allows Retrieve Embedded
Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting") vulnerability in Drupal AI (Artific
Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting") vulnerability in Drupal AI (Artific
EUVD-2026-43058
GHSA-q48q-x876-9gr8
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB