CVE-2026-142404

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 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.

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.0,<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.