# DRUPAL-CONTRIB-2023-004: This module enables you to use the media library in custom forms without the Media Library Widget.

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2023-01-18T17:49:04.000Z
- Modified: 2026-09-10T03:45:56.591Z

## 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.

(As written by Drupal Security Team.)

## Affected

- drupal/media_library_form_element (Packagist:https://packages.drupal.org/8): from 2.0.0 before 2.0.6

## References

- <https://www.drupal.org/sa-contrib-2023-004> (web)

## Sources

- Drupal Security Team: [DRUPAL-CONTRIB-2023-004](https://osv.dev/vulnerability/DRUPAL-CONTRIB-2023-004), MIT, modified 2026-09-10

---

Page: https://cve.day/DRUPAL-CONTRIB-2023-004 · Whole record: https://cve.day/DRUPAL-CONTRIB-2023-004.json · Rebuilt by cve.day 2026-11-25T22:56:30.143Z
