drupal/block_attributes - SA-CONTRIB-2026-232
The Drupal block_attributes module allows administrators to define custom attributes for blocks in a predefined format.
The module does not sufficiently sanitize attributes against cross-site scripting (XSS).
Mitigation:
This issue is mitigated by the fact that the attacker must have the administer blocks permission.
What to do
Upgrade drupal/block_attributes to version 2.1.0 or later.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | drupal/block_attributes | < 2.1.0 | 2.1.0 |
| Drupal module | drupal/block_attributes | < 2.1.0 | 2.1.0 |
References
- Weakness (CWE)
-- Platform
- Composer, Drupal
- Package
drupal/block_attributes- Disclosed
- 21.10.2026
- Updated
- 21.10.2026 21:19
Sources and licenses · Edited or translated by DockRay; source rights and applicable licenses are retained.
OSV / GitHub Advisory Database - DRUPAL-CONTRIB-2026-232 - CC BY-SA 2.0; code GPL-2.0-or-later
Vulnerability history: drupal/block_attributes
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 2
- First → latest
- 07.2025 10.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Unrated 2
Disclosures per year
- 2025: 1
- 2026: 1
-
drupal/block_attributes - SA-CONTRIB-2026-232 this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.