Advisories / composer / drupal/ai / CVE-2025-31677
Drupal AI Cross-Site Request Forgery (CSRF) vulnerability (CVE-2025-31677)
CVE-2025-31677 GHSA-9w85-x5hg-fr66 Published 1 Apr 2025
Fixed in drupal/ai 1.0.2.
$ composer require drupal/ai:^1.0.2
Which versions are affected
| Package | Affected | Fixed in |
|---|---|---|
| drupal/ai | ≥ 1.0.0, < 1.0.2 | 1.0.2 |
Check a site from its project folder:
composer show drupal/ai
shows the installed version. Or paste the lock file into the lock file checker to check every package at once.
Timeline
- Advisory published, with a fix
Questions
Which version of drupal/ai is safe from CVE-2025-31677?
1.0.2 and later. Versions affected: ≥ 1.0.0, < 1.0.2.