Skip to main content

Block attributes: This module allows you to define custom attributes for a block. (CVE-2026-114534)

0
Medium
Published: 10/21/2026 (10/21/2026, 17:46:09 UTC)
Source: GCVE Database
Product: drupal/block_attributes

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

Packagist:https://packages.drupal.org/8ghsa
drupal/block_attributes
Affected versions
<2.1.0

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

AILast updated: 10/21/2026, 20:14:14 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses