{"id":"DRUPAL-CONTRIB-2024-046","details":"This module enables you to manage blocks from specific modules in the specific themes.\n\nThe 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.\n\nThis vulnerability is mitigated by the fact that an attacker must have a role with the permission \"administer blocks provided by [provider]\".","aliases":["CVE-2024-13282"],"modified":"2026-09-10T03:45:24.957931651Z","published":"2024-10-09T15:48:11Z","references":[{"type":"WEB","url":"https://www.drupal.org/sa-contrib-2024-046"}],"affected":[{"package":{"name":"drupal/block_permissions","ecosystem":"Packagist:https://packages.drupal.org/8","purl":"pkg:composer/drupal/block_permissions?repository_url=https:%2F%2Fpackages.drupal.org%2F8"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.0"},{"fixed":"1.2.0"}],"database_specific":{"constraint":"\u003e=1.0.0 \u003c1.2.0"}}],"database_specific":{"source":"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/block_permissions/DRUPAL-CONTRIB-2024-046.json","affected_versions":"\u003e=1.0.0 \u003c1.2.0"}}],"schema_version":"1.9.0","credits":[{"name":"Francesco Sardara","contact":["https://www.drupal.org/user/2353864"]}]}