Skip to main content
Menu
Advisories

This module organizes media entities into a directory structure

DRUPAL-CONTRIB-2026-349Published Updated Drupal

Description

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.

Affected versions

References