# DRUPAL-CONTRIB-2023-003: The Media Library Block module allows you to render a media entity in a block

- Database: Drupal
- Published: 2023-01-18
- Modified: 2026-09-10

## Affected versions

- drupal/media\_library\_block (Packagist): fixed in 1.0.4

## Description

The Media Library Block module allows you to render a media entity in a block.

The module does not properly check media access in some circumstances. This may result in unauthorized users (including anonymous users) seeing media items they are not authorized to access if a block containing a restricted media item is placed on the page.

Administrators may mitigate this vulnerability by removing blocks referencing media items that have access restrictions.

## References

- https://www.drupal.org/sa-contrib-2023-003

Page: https://cve.now/DRUPAL-CONTRIB-2023-003

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
