SA-CONTRIB-2026-335: XSS

Published Nov 11, 2026
·
Updated

This module renders Layout Builder forms inside an iframe in a modal dialog, using the admin theme. The module provides its own Ajax command to open the iframe dialog. This command does not sanitize the dialog options the same way Drupal core does since SA-CORE-2026-001, which can lead to a cross-site scripting (XSS) vulnerability. This vulnerability is mitigated by the fact that an attacker must be able to control the Ajax response, or be able to add markup with specific attributes to a page.

Credit

Pierre Rudloff (prudloff)(the Drupal Security Team)

Affected Software

1 affected componentFixes available
composer/drupal/layout_builder_iframe_modal<1.3.9
1.3.9

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/drupal/layout_builder_iframe_modal to a version that resolves this vulnerability.

    Fixed in 1.3.9

Event History

Nov 11, 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 vulnerability?

Sites using the module are exposed when an attacker can control an Ajax response or can add markup with specific attributes to a page. The issue is mitigated when neither capability is available to untrusted users.

2

What access or capability does an attacker need?

An attacker needs the ability to control the Ajax response used by the module's iframe-dialog command, or the ability to add markup containing specific attributes to a page. The provided information does not identify a required authentication level.

3

How can I determine whether my site may be affected?

Check whether the site uses composer/drupal/layout_builder_iframe_modal and whether untrusted parties can influence Ajax responses or add markup with attributes to pages where the module's dialog functionality is used.

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