SA-CONTRIB-2026-123: Critical severity drupal/component_blocks vulnerability

Published Sep 2, 2026
·
Updated

This module enables you use UI Patterns with blocks, for use in Layout Builder. The module doesn't sufficiently validate user input before passing to token replacement. This vulnerability is mitigated by the fact that an attacker must have a role with the ability to edit layout builder layouts.

Credit

Marcus Johansson (marcus_johansson)

Affected Software

1 affected componentFixes available
drupal/component_blocks<1.2.7
1.2.7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade drupal/component_blocks to a version that resolves this vulnerability.

    Fixed in 1.2.7

Event History

Sep 2, 2026
Advisory Published
via Drupal·12:00 AM
Data Sourced
via Drupal·12:00 AM
DescriptionSeverityAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Who is realistically exposed to this issue?

Sites using the drupal/component_blocks module with Layout Builder are exposed when users have a role that can edit Layout Builder layouts. The advisory identifies that permission as a mitigating factor.

2

What access does an attacker need to exploit it?

An attacker must be able to edit Layout Builder layouts through an assigned role. The issue involves insufficient validation of user input before it is passed to token replacement.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203