ADVISORIES

Drupal Security Advisory

DRUPAL-CONTRIB-2026-054

Details

The module and certain submodules (AI Automators, AI Translate, AI API Explorer, AI Content Suggestions) provide the ability to use an LLM to generate HTML or Markdown and preview it in a browser.

Under certain circumstances, rendering of this HTML can lead to Cross Site Scripting, or exposing secret communications in the context of the LLM request.

This vulnerability is mitigated by the fact that an attacker must be able to inject text into prompts to create an attack.

Affected packages

EcosystemPackageAffected versions
Packagist:https://packages.drupal.org/8drupal/ai
All versions before 1.2.17 (fixed in 1.2.17)
From 1.3.0 before 1.3.8 (fixed in 1.3.8)
From 1.4.0 before 1.4.3 (fixed in 1.4.3)

References