Skip to main content

Drupal AI CVE-2026-13234

| EUVDEUVD-2026-43058 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-07-10 drupal GHSA-q48q-x876-9gr8
6.1
CVSS 3.1 · Vendor: drupal
Share

Severity by source

Vendor (drupal) PRIMARY
6.1 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
vuln.today AI
6.1 MEDIUM

Network-accessible with no auth required; victim interaction mandatory; scope changes to browser; confidentiality and integrity limited to session/page context, no availability impact.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (drupal).

CVSS VectorVendor: drupal

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

Lifecycle Timeline

4
Analysis Generated
Jul 13, 2026 - 19:38 vuln.today
CVSS changed
Jul 13, 2026 - 19:07 NVD
6.1 (MEDIUM)
Patch available
Jul 10, 2026 - 23:02 EUVD
CVE Published
Jul 10, 2026 - 21:44 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.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.

AnalysisAI

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.

Technical ContextAI

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.

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.

Share

CVE-2026-13234 vulnerability details – vuln.today

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