SA-CONTRIB-2026-232: Critical severity drupal/block_attributes vulnerability
This module allows you to define custom attributes for a block. You can specify an attribute name to be added to the block in a predefined format. The module does not sufficiently sanitize attributes against cross site scripting. This issue is mitigated by the fact that the attacker must have the administer blocks permission.
Credit
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
drupal/block_attributesto a version that resolves this vulnerability.Fixed in 2.1.0