drupal/ai - SA-CONTRIB-2025-119
This modules provides the ability to chat with an AI Agent using a large-language model (LLM) provider for different purposes.
The module doesn’t sufficiently filter LLM responses. This leads to a cross-site scripting (XSS) vulnerability where an attacker can use prompt injections on user-generated content with the LLM as context.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | drupal/ai | < 1.0.7, >= 1.1.0, < 1.1.7, >= 1.2.0, < 1.2.4 | 1.0.7, 1.1.7, 1.2.4 |
| Drupal module | drupal/ai | < 1.0.7, >= 1.1.0, < 1.1.7, >= 1.2.0, < 1.2.4 | 1.0.7, 1.1.7, 1.2.4 |
References
- Weakness (CWE)
-- Platform
- Composer, Drupal
- Package
drupal/ai- Disclosed
- 03.12.2025
- Updated
- 11.10.2026 12:18
Sources and licenses
OSV / GitHub Advisory Database - DRUPAL-CONTRIB-2025-119 - CC BY-SA 2.0; code GPL-2.0-or-later
Vulnerability history: drupal/ai
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 10
- First → latest
- 01.2025 09.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Medium 4
- Unrated 6
Disclosures per year
- 2025: 5
- 2026: 5
-
drupal/ai - SA-CONTRIB-2025-119 this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.