ADVISORIES

Drupal Security Advisory

DRUPAL-CONTRIB-2025-004

Details

The AI logging sub-module enables you to log AI requests and responses for debugging and auditing purposes.

The module doesn't sufficiently check for access to view the preview listing of the logs. Full log details are correctly protected, and API keys are never logged.

This vulnerability is mitigated by the fact that it only affects sites using the AI Logging sub-module with 'Log requests' enabled in the AI Logging configuration page.

Affected packages

EcosystemPackageAffected versions
Packagist:https://packages.drupal.org/8drupal/ai
All versions before 1.0.3 (fixed in 1.0.3)

References