DRUPAL-CONTRIB-2025-003

See a problem?
Import Source
https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/ai/DRUPAL-CONTRIB-2025-003.json
JSON Data
https://api.osv.dev/v1/vulns/DRUPAL-CONTRIB-2025-003
Aliases
Published
2025-01-15T15:58:05Z
Modified
2025-12-10T23:41:13.197343Z
Summary
[none]
Details

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

Affected packages

Packagist:https://packages.drupal.org/8 / drupal/ai

Package

Name
drupal/ai
Purl
pkg:composer/drupal/ai

Affected ranges

Type
ECOSYSTEM
Events
Introduced
1.0.0
Fixed
1.0.2
Database specific
{
    "constraint": ">=1.0.0 <1.0.2"
}

Database specific

affected_versions
">=1.0.0 <1.0.2"
patched
true
source
"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/ai/DRUPAL-CONTRIB-2025-003.json"