drupal/media_library_form_element - SA-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 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 software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | drupal/media_library_form_element | >= 2.0.0, < 2.0.6 | 2.0.6 |
| Drupal module | drupal/media_library_form_element | >= 2.0.0, < 2.0.6 | 2.0.6 |
References
- Weakness (CWE)
-- Platform
- Composer, Drupal
- Package
drupal/media_library_form_element- Disclosed
- 18.01.2023
- Updated
- 11.10.2026 12:18
Sources and licenses
OSV / GitHub Advisory Database - DRUPAL-CONTRIB-2023-004 - CC BY-SA 2.0; code GPL-2.0-or-later
Vulnerability history: drupal/media_library_form_element
All published vulnerabilities of this package (Drupal module), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.