CVE-2026-118546

AI (Artificial Intelligence) - Moderately critical - Cross-site scripting - SA-CONTRIB-2026-267

Published Oct 30, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
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.4.11, from 1.5.0 to 1.5.2.

Analysis

AI-generated

Technical impact

The Drupal AI (Artificial Intelligence) module contains an improper neutralization of input during web page generation that allows attackers to inject malicious JavaScript into web pages viewed by other users. By exploiting this cross‑site scripting flaw, an attacker can execute arbitrary code in the victim’s browser, enabling session hijacking, credential theft, defacement, or delivery of further malware. This vulnerability falls under CWE‑79 and can be triggered whenever the module accepts unescaped user input on any page it serves.

Affected Systems

All installations of the Drupal AI module running any version from 0.0.0 through 1.4.11 or from 1.5.0 through 1.5.2 are vulnerable. This includes all Drupal sites that have the AI component enabled without applying the specified updates.

Risk and Exploitability

While the EPSS score is < 1% and the vulnerability is not currently listed in the CISA KEV catalog, the cross‑site scripting nature of the flaw means it is likely exploitable in the wild if attackers can direct users to compromised or malicious content. The CVSS score of 6.5 indicates moderate severity, and the flaw’s impact is assessed as moderate to high, depending on the attacker’s ability to reach victim browsers. Users should treat this as a significant risk until a patch is applied.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Drupal AI component to the latest available release that removes the input sanitization flaw, ensuring the version is beyond 1.5.2.
  • Implement strict output encoding for all user‑supplied data processed by the AI module, following best practices for mitigating CWEs involving improper neutralization of input.
  • Add security headers such as Content‑Security‑Policy and X‑Content‑Type‑Options to the web server to mitigate the impact of any residual scripting injection attempts.

Generated by OpenCVE AI on November 6, 2026 at 15:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
References
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L'}

Type Values Removed Values Added
First Time appeared Drupal
Drupal artificial Intelligence
Vendors & Products Drupal
Drupal artificial Intelligence
Type Values Removed Values Added
Description 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.4.11, from 1.5.0 to 1.5.2.
Title AI (Artificial Intelligence) - Moderately critical - Cross-site scripting - SA-CONTRIB-2026-267
Weaknesses CWE-79
References
Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
drupal
Published
Updated
Nov 6, 2026, 12:57 PM
Reserved
Oct 28, 2026, 3:50 PM
Status
Awaiting Analysis
Published
Oct 30, 2026, 4:18 AM
Modified
Nov 6, 2026, 1:17 PM