VDB
Sign up
—

DRUPAL-CONTRIB-2023-004

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist:https://packages.drupal.org/8/drupal/media_library_form_element
Introduced in: 2.0.0Fixed in: 2.0.6

Upgrade drupal/media_library_form_element to 2.0.6 or newer (ecosystem packagist:https://packages.drupal.org/8).

References