CVE-2025-13981
JSON

4.4medium

AI (Artificial Intelligence) - Moderately critical - Cross-Site Scripting - SA-CONTRIB-2025-119

Severity
4.4medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.14% (higher than 3% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
drupal
Also known as
DRUPAL-CONTRIB-2025-119

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): from 0.0.0 before 1.0.7, from 1.1.0 before 1.1.7, from 1.2.0 before 1.2.4.

Affected

Product or packageVersionsReported by
Drupal AI (Artificial Intelligence)from 0.0.0 before 1.0.7, from 1.1.0 before 1.1.7, from 1.2.0 before 1.2.4CVE List
drupal/ai (Packagist:https://packages.drupal.org/8)before 1.0.7, from 1.1.0 before 1.1.7, from 1.2.0 before 1.2.4Drupal Security Team
artificial_intelligence_project artificial_intelligencebefore 1.0.7, from 1.1.0 before 1.1.7, from 1.2.0 before 1.2.4NVD

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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): from 0.0.0 before 1.0.7, from 1.1.0 before 1.1.7, from 1.2.0 before 1.2.4.

Drupal Security Team

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.

NVD (es)

La vulnerabilidad de Neutralización Inadecuada de la Entrada Durante la Generación de Páginas Web ('cross-site scripting') en Drupal AI (Inteligencia Artificial) permite cross-site scripting (XSS). Este problema afecta a AI (Inteligencia Artificial): desde 0.0.0 anterior a 1.0.7, desde 1.1.0 anterior a 1.1.7, desde 1.2.0 anterior a 1.2.4.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-13981 changed 2026-01-29CVE Terms of Use
Drupal Security TeamDRUPAL-CONTRIB-2025-119 changed 2026-09-10MIT
NVDCVE-2025-13981 changed 2026-06-17Public domain