CVE-2026-142402: CSRF
This module organizes media entities into a directory structure. It provides a media browser for selecting, uploading, and managing media.
The module doesn't sufficiently protect several of its routes against cross-site request forgery (CSRF). An attacker could trick a user with the relevant permissions into performing actions without their knowledge.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
composer/drupal/media_directoriesto a version that resolves this vulnerability.Fixed in 3.0.1