Vulnerability DRUPAL-CONTRIB-2026-349
Details
This module organizes media entities into a directory structure. It provides a media browser for selecting, uploading, and managing media.
The Media Directories UI submodule doesn't sufficiently escape directory names in its directory tree. A user who can create or rename directories can inject markup. This can lead to a cross-site scripting (XSS) attack that runs for other users who open the directory tree, including administrators.
This vulnerability is mitigated by the fact that an attacker must have a role with permission to create or edit terms in the directory vocabulary.
On the 3.0.x branch, only the deprecated Media Directories UI submodule is affected.
References
Related Vulnerabilities
Other vulnerabilities affecting the same packages