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.
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