{"id":"CVE-2025-13981","aliases":["CVE-2025-13981","DRUPAL-CONTRIB-2025-119"],"related":[],"kind":"vulnerability","state":"published","title":"AI (Artificial Intelligence) - Moderately critical - Cross-Site Scripting - SA-CONTRIB-2025-119","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"drupal"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2025-12-03T18:48:23.000Z","modified":"2026-09-10T03:45:04.389Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N","score":4.4,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N","score":4.4,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0.0.0","fixed":"1.0.7","status":"affected"},{"type":"semver","introduced":"1.1.0","fixed":"1.1.7","status":"affected"},{"type":"semver","introduced":"1.2.0","fixed":"1.2.4","status":"affected"}],"vendor":"Drupal","product":"AI (Artificial Intelligence)","repo":"https://git.drupalcode.org/project/ai","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.0.7"},{"type":"ecosystem","introduced":"1.1.0","status":"affected","fixed":"1.1.7"},{"type":"ecosystem","introduced":"1.2.0","status":"affected","fixed":"1.2.4"}],"ecosystem":"Packagist:https://packages.drupal.org/8","package":"drupal/ai","purl":"pkg:composer/drupal/ai?repository_url=https:%2F%2Fpackages.drupal.org%2F8","source":"drupal"},{"ranges":[{"status":"affected","fixed":"1.0.7"},{"status":"affected","introduced":"1.1.0","fixed":"1.1.7"},{"status":"affected","introduced":"1.2.0","fixed":"1.2.4"}],"vendor":"artificial_intelligence_project","product":"artificial_intelligence","cpe":"cpe:2.3:a:artificial_intelligence_project:artificial_intelligence:*:*:*:*:*:drupal:*:*","source":"nvd"}],"references":[{"url":"https://www.drupal.org/sa-contrib-2025-119","tags":["vendor-advisory","web"],"sources":["cvelist","drupal","nvd"]}],"credits":["Drew Webber (mcdruid)","Marcus Johansson (marcus_johansson)","Bram Driesen (bramdriesen)","Greg Knaddison (greggles)","Juraj Nemec (poker10)","Jess  (xjm)"],"assigner":"drupal","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-01-29T17:12:42.119Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-13981","url":"https://www.cve.org/CVERecord?id=CVE-2025-13981","licence":"CVE Terms of Use","modified":"2026-01-29T17:12:45.481Z"},{"source":"drupal","name":"Drupal Security Team","id":"DRUPAL-CONTRIB-2025-119","url":"https://osv.dev/vulnerability/DRUPAL-CONTRIB-2025-119","licence":"MIT","modified":"2026-09-10T03:45:04.389Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-13981","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-13981","licence":"Public domain","modified":"2026-06-17T08:35:06.737Z"}],"updatedAt":"2026-11-25T22:59:10.910Z","epss":{"score":0.00143,"percentile":0.03856,"date":"2026-12-01T12:00:22.000Z"}}