DRUPAL-CONTRIB-2023-004
JSON

Not scored

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

Severity
Not scored
Published
Last changed

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

Product or packageVersionsReported by
drupal/media_library_form_element (Packagist:https://packages.drupal.org/8)from 2.0.0 before 2.0.6Drupal Security Team

References

Sources

SourceRecordLicence
Drupal Security TeamDRUPAL-CONTRIB-2023-004 changed 2026-09-10MIT