Skip to content
OpenAdvisories
Unscored DRUPAL-CONTRIB-2023-004

This module enables you to use the media library in custom forms without the Media Library Widget. The module does not properly check entit…

Published Jan 18, 2023 · Updated Sep 10, 2026 · Assigned by DRUPAL

Description

This module enables you to use the media library in custom forms without the Media Library Widget.

The module does not properly check entity access in some circumstances. This may result in users with access to edit content seeing metadata about media items they are not authorized to access.

The vulnerability is mitigated by the fact that the inaccessible media will only be visible to users who can already edit content that includes a media reference field.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist drupal/media_library_form_element >= 2.0.0, < 2.0.6 2.0.6 DRUPAL-CONTRIB-2023-004

References