media_directoriesThis 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.
Install the latest version:
- If you use the 3.0.x branch, upgrade to Media Directories 3.0.1.
- Swan Kalata (akalata) of the Drupal Security Team
- Damien McKenna (damienmckenna) of the Drupal Security Team
- Juraj Nemec (poker10) of the Drupal Security Team
- Jess (xjm) of the Drupal Security Team