The Media Directories module for Drupal organizes media entities into a directory structure and provides a media browser for managing media. It suffers from insufficient protection against cross-site request forgery (CSRF) on several routes, allowing an attacker to trick authorized users into performing unintended actions. A fix addressing this issue is available in version 3.0.1.