CVE-2025-31677
highpriority · track · 0EPSS 0.002 · 13 %ileEUUSEPSS · scored 2026-10-27
Cross-Site Request Forgery (CSRF) vulnerability in Drupal AI (Artificial Intelligence) allows Cross Site Request Forgery.This issue affects AI (Artificial Intelligence): from 1.0.0 before 1.0.2.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (4)
Products and version ranges known to be affected.
- artificial intelligence project artificial intelligence1.0.0 → 1.0.2nvdUScpe:2.3:a:artificial_intelligence_project:artificial_intelligence:*:*:*:*:*:*:*:*
- Packagist:https://packages.drupal.org/8 drupal/ai1.0.0 → 1.0.2osvUSpkg:composer/drupal/ai?repository_url=https:%2F%2Fpackages.drupal.org%2F8
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-9w85-x5hg-fr66Drupal AI Cross-Site Request Forgery (CSRF) vulnerability2025-04-01ghsa · osvUS
Cross-Site Request Forgery (CSRF) vulnerability in Drupal AI (Artificial Intelligence) allows Cross Site Request Forgery. This issue affects AI (Artificial Intelligence): from 1.0.0 before 1.0.2.
- DRUPAL-CONTRIB-2025-0032025-01-15vendor · osvUS
The Drupal AI module provides a framework for easily integrating Artificial Intelligence on any Drupal site using any kind of AI (from multiple vendors). The sub-modules AI Chatbot and AI Assistants API allow users to interact with the Drupal site via a 'chat' interface. The AI Chatbot module doesn't protect against Cross Site Request Forgeries in the Deepchat chatbot. This could allow an attacker to craft a scenario that can forge a request on behalf of a privileged user. When combined with the AI Search submodule, this could result in the AI Assistant exposing indexed data that the attacker should not have access to. When combined with the external AI Agent module, this could result in the AI Assistant exposing and allowing modification of site configuration of fields, content types, and vocabularies. Sites with custom built agents, with more privileged access, could be at greater risk from an exploit of this vulnerability. This vulnerability is mitigated by: * The targeted user needs to have an active session with a role with the "access deepchat api" permission and permission to assistants. * To extract data, the target site must have a permissive CORS policy allowing the attacking site to read the result of a cross origin request. * To modify data, the targeted user must have permission to use the configured agents.
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (4)
External citations — patches, advisories, analysis.
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan