Block attributes: This module allows you to define custom attributes for a block. (CVE-2026-114534)
Description
The Block Attributes module for Drupal allows defining custom attributes for blocks but insufficiently sanitizes these attributes, leading to a cross-site scripting (XSS) vulnerability. Exploitation requires the attacker to have the 'administer blocks' permission, which limits the attack surface. A patch is available to address this issue.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-114534 describes a vulnerability in the Drupal Block Attributes module (versions prior to 2.1.0) where custom block attributes are not properly sanitized, enabling cross-site scripting (XSS). The vulnerability is mitigated by the requirement that an attacker must have the 'administer blocks' permission to exploit it. This limits the risk to users with elevated privileges. A fix has been made available in version 2.1.0.
Potential Impact
Successful exploitation could allow an attacker with 'administer blocks' permission to inject malicious scripts via block attributes, potentially leading to XSS attacks. However, since the attacker must already have administrative permissions related to blocks, the impact is limited to privileged users and does not affect anonymous or lower-privileged users.
Mitigation Recommendations
Upgrade the Block Attributes module to version 2.1.0 or later where the vulnerability is patched. Since a patch is available, applying the official fix is the recommended remediation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- DRUPAL-CONTRIB-2026-232
- Osv Schema Version
- 1.7.0
- Aliases
- ["CVE-2026-114534"]
- Ecosystems
- ["Packagist:https://packages.drupal.org/8"]
Threat ID: 6ad91ca94d27ba8daafa91bc
Added to database: 10/21/2026, 20:12:25 UTC
Last enriched: 10/21/2026, 20:14:14 UTC
Last updated: 10/21/2026, 20:14:14 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.