SA-CONTRIB-2026-192: Critical severity drupal/block_ajax vulnerability

Published Oct 7, 2026
·
Updated

The Block AJAX module enables you to load blocks asynchronously via Ajax. The module doesn't sufficiently validate user-supplied data which is used to construct a block. In the worst case scenario, this can lead to PHP Object Injection and Remote Code Execution. The vulnerability is mitigated by the fact that it only affects sites that have Layout Builder enabled (or another block plugin that handles the data this module passes to it in a potentially unsafe way). Please see the release notes for details of potentially breaking changes.

Credit

Drew Webber (mcdruid)(the Drupal Security Team)

Affected Software

1 affected componentFixes available
drupal/block_ajax<3.0.2
3.0.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 3.0.2

Event History

Oct 7, 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

Which deployments are most likely to be exposed?

The issue affects sites using the Block AJAX module where Layout Builder is enabled. Sites may also be affected if another installed block plugin handles the data passed by Block AJAX in an unsafe way.

2

What does an attacker need to exploit this issue?

Exploitation depends on user-supplied data being passed into a block handler that processes it unsafely. The described worst-case impact is PHP object injection leading to remote code execution.

3

How can I assess whether my site is in the affected group?

Confirm whether the Block AJAX module is installed and whether Layout Builder is enabled. Also review any other block plugins that receive data from Block AJAX, since unsafe handling by such a plugin can make the site affected.

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