# DRUPAL-CONTRIB-2026-232: This module allows you to define custom attributes for a block

- Database: Drupal
- Published: 2026-10-21
- Modified: 2026-10-21

## Tracked as

- [CVE-2026-114534](https://cve.now/CVE-2026-114534.md): Drupal Block Attributes stored XSS in block element attributes

## Affected versions

- drupal/block\_attributes (Packagist): fixed in 2.1.0

## Description

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.

## References

- https://www.drupal.org/sa-contrib-2026-232

Page: https://cve.now/DRUPAL-CONTRIB-2026-232

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
