DRUPAL-CONTRIB-2023-004 This module enables you to use the media library in custom forms without the Media Library Widget.
Authenticated users with content editing permissions can view metadata of unauthorized media items due to missing access checks.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is DRUPAL-CONTRIB-2023-004?
DRUPAL-CONTRIB-2023-004 is a vulnerability in drupal/media_library_form_element, published on 18 Jan 2023. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Which versions are affected by DRUPAL-CONTRIB-2023-004?
Linux distribution packages (1)
drupal/media_library_form_element Packagist:https://packages.drupal.org/8 | From 2.0.0 | 2.0.6 |
How do I fix DRUPAL-CONTRIB-2023-004?
Upgrade to a fixed version.
Is DRUPAL-CONTRIB-2023-004 being exploited?
There is no known exploitation of DRUPAL-CONTRIB-2023-004 in the wild and no public exploit code.