CVE-2025-13981: DRUPAL-CONTRIB-2025-119 - This modules provides the ability to chat with an AI Agent using a large-language model…

CVE-2025-13981 · Severity: info · Published 2025-12-03

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.

Technologies: Packagist:Https://Packages.Drupal.Org/8 Drupal/Ai. Vendors: Packagist:Https://Packages.Drupal.Org/8.

Quick answers

Is CVE-2025-13981 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-13981 being exploited in the wild.
How severe is CVE-2025-13981?
Informational severity, published 3 December 2025.
Which products and versions are affected?
Packagist:Https://Packages.Drupal.Org/8 Drupal/Ai ECOSYSTEM:introduced=0,fixed=1.0.7|ECOSYSTEM:introduced=1.1.0,fixed=1.1.7|ECOSYSTEM:introduced=1.2.0,fixed=1.2.4.
Is there a fix for CVE-2025-13981?
Yes. Packagist:Https://Packages.Drupal.Org/8 Drupal/Ai: upgrade to 1.0.7 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2025-13981?
Check whether you run Packagist:Https://Packages.Drupal.Org/8 Drupal/Ai at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • Packagist:Https://Packages.Drupal.Org/8 Drupal/Ai: upgrade to 1.0.7 or later

Affected products

  • Packagist:Https://Packages.Drupal.Org/8 Drupal/Ai ECOSYSTEM:introduced=0,fixed=1.0.7|ECOSYSTEM:introduced=1.1.0,fixed=1.1.7|ECOSYSTEM:introduced=1.2.0,fixed=1.2.4

Identifiers

  • CVE-2025-13981
  • DRUPAL-CONTRIB-2025-119

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.