{"id":"DRUPAL-CONTRIB-2025-119","details":"This modules provides the ability to chat with an AI Agent using a large-language model (LLM) provider for different purposes.\n\nThe 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.","aliases":["CVE-2025-13981"],"modified":"2026-09-10T03:45:04.389509400Z","published":"2025-12-03T18:48:23Z","references":[{"type":"WEB","url":"https://www.drupal.org/sa-contrib-2025-119"}],"affected":[{"package":{"name":"drupal/ai","ecosystem":"Packagist:https://packages.drupal.org/8","purl":"pkg:composer/drupal/ai?repository_url=https:%2F%2Fpackages.drupal.org%2F8"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.7"}],"database_specific":{"constraint":"\u003c1.0.7"}},{"type":"ECOSYSTEM","events":[{"introduced":"1.1.0"},{"fixed":"1.1.7"}],"database_specific":{"constraint":"\u003e=1.1.0 \u003c1.1.7"}},{"type":"ECOSYSTEM","events":[{"introduced":"1.2.0"},{"fixed":"1.2.4"}],"database_specific":{"constraint":"\u003e=1.2.0 \u003c1.2.4"}}],"database_specific":{"affected_versions":"\u003c1.0.7 || \u003e=1.1.0 \u003c1.1.7 || \u003e=1.2.0 \u003c1.2.4","source":"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/ai/DRUPAL-CONTRIB-2025-119.json"}}],"schema_version":"1.9.0","credits":[{"name":"Drew Webber (mcdruid)","contact":["https://www.drupal.org/u/mcdruid"]}]}