---
id: "CVE-2026-118552"
kind: "vulnerability"
aliases: ["CVE-2026-118552"]
title: "Drupal AI module: cross-site scripting lets attackers run scripts in pages"
severity: "unknown"
cvss: null
epss: null
exploited: false
status: "open"
category: "runtime"
products: []
ecosystems: []
tags: ["cms", "drupal", "php", "runtime"]
not_affected_if: []
published_at: "2026-10-30T04:18:20+00:00"
first_seen_at: "2026-10-30T04:28:38+00:00"
updated_at: "2026-10-30T04:29:25+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-118552", "first_seen_at": "2026-10-30T04:28:38+00:00"}]
---

# Drupal AI module: cross-site scripting lets attackers run scripts in pages

The Drupal AI (Artificial Intelligence) module fails to neutralize input when generating web pages, allowing cross-site scripting. An attacker can inject script that runs in the browser of a visitor or logged-in user viewing the affected page.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed version of the Drupal AI module with `drush pm:list --filter=ai` or the module list at /admin/modules, and compare against the affected range.

## Fix

- Drupal AI: versions from 0.0.0 through 1.4.11 and from 1.5.0 through 1.5.2 are affected; the sources do not state the fixed version.

## Timeline

- 2026-10-30T04:28:38+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-118552

## From the sources

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.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
