—
DRUPAL-CONTRIB-2024-046
Details
This module enables you to manage blocks from specific modules in the specific themes.
The module doesn't sufficiently check permissions under the scenario when a block is added using the form "/admin/structure/block/add/{plugin\_id}/{theme}" (route "block.admin\_add"). The attacker can add the block to the theme where they can't manage blocks.
This vulnerability is mitigated by the fact that an attacker must have a role with the permission "administer blocks provided by [provider]".
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist:https://packages.drupal.org/8/drupal/block_permissions
Introduced in:
1.0.0Fixed in: 1.2.0Upgrade drupal/block_permissions to 1.2.0 or newer (ecosystem packagist:https://packages.drupal.org/8).