drupal/layout_builder_iframe_modal - SA-CONTRIB-2026-335
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | drupal/layout_builder_iframe_modal | < 1.3.9 | 1.3.9 |
| Drupal module | drupal/layout_builder_iframe_modal | < 1.3.9 | 1.3.9 |
References
- Weakness (CWE)
-- Platform
- Composer, Drupal
- Package
drupal/layout_builder_iframe_modal- Disclosed
- 11.11.2026
- Updated
- 11.11.2026 20:17
Sources and licenses
OSV / GitHub Advisory Database - DRUPAL-CONTRIB-2026-335 - CC BY-SA 2.0; code GPL-2.0-or-later
Vulnerability history: drupal/layout_builder_iframe_modal
All published vulnerabilities of this package (Drupal module), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.