CVE-2026-142403

unknown
Published 2026-12-02 · Modified 2026-12-02
CVSS v3
—
CVSS v4 NEW
—
not yet in upstream
VIR risk
—

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.

Predictions

Exploit likelihood
20%
Patch ETA
—

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.

Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

Package impact

EcosystemPackageVulnerableFixed
Packagist:https://packages.drupal.org/8drupal/media_directories<3.0.13.0.1

References

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.