ADVISORIES

Drupal Security Advisory

DRUPAL-CONTRIB-2026-232

Details

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.

Affected packages

EcosystemPackageAffected versions
Packagist:https://packages.drupal.org/8drupal/block_attributes
All versions before 2.1.0 (fixed in 2.1.0)

References