Skip to content

DRUPAL-CONTRIB-2023-003 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 a...

Unknown
Published
Updated
Exploit status
No public exploit known
Technology
PHP

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
drupal/media_library_block(Packagist https //packages.drupal.org/8) < 1.0.4 1.0.4 Fixed

Affected products

ProductAffected versionsFixed in
drupal/media_library_block(Packagist:https://packages.drupal.org/8) < 1.0.4 1.0.4

References