This module organizes media entities into a directory structure. It provides a media browser for selecting, uploading, and managing media.
The media browser API doesn't sufficiently check access to text formats. A user who can edit media can save text in a text format they aren't allowed to use, which can lead to cross-site scripting wherever that field is displayed.
This vulnerability is mitigated by the fact that an attacker must have a role with the Access Media Directories browser permission and permission to create or edit media. A media type must also have a formatted text field.