Description
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](https://www.drupal.org/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 packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | drupal/layout_builder_iframe_modal | < 1.3.9 | 1.3.9 | DRUPAL-CONTRIB-2026-335 |
Advisories 1
- WID-SEC-2026-4527 Drupal Erweiterungen: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 11, 2026