ADVISORIES

Drupal Security Advisory

DRUPAL-CONTRIB-2026-080

Details

This module provides a better UI for managing and selecting Media entities in a folder structure.

The module doesn't sufficiently sanitize the names and descriptions of media items and folders when they are displayed in the media browser, resulting in a stored cross-site scripting (XSS) vulnerability.

This vulnerability is mitigated by the fact that an attacker must have a role with permission to create or edit media items or folders.

Affected packages

EcosystemPackageAffected versions
Packagist:https://packages.drupal.org/8drupal/media_folders
All versions before 1.0.8 (fixed in 1.0.8)

References