Not scored
Layout Builder iFrame Modal - Moderately critical - Cross-site scripting - SA-CONTRIB-2026-335
- Severity
- Not scored
- Exploit likelihood
- 0.44% (higher than 40% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- drupal
- Also known as
- DRUPAL-CONTRIB-2026-335
Description
Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting") vulnerability in Drupal Layout Builder iFrame Modal allows Cross-Site Scripting (XSS). This issue affects Layout Builder iFrame Modal versions: from 0.0.0 to 1.3.9.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Drupal Layout Builder iFrame Modal | from 0.0.0 before 1.3.9 | CVE List |
| drupal/layout_builder_iframe_modal (Packagist:https://packages.drupal.org/8) | before 1.3.9 | Drupal Security Team |
Classification
What each source says
CVE List
Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting") vulnerability in Drupal Layout Builder iFrame Modal allows Cross-Site Scripting (XSS). This issue affects Layout Builder iFrame Modal versions: from 0.0.0 to 1.3.9.
Drupal Security Team
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.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-126744 changed 2026-11-26 | CVE Terms of Use |
| Drupal Security Team | DRUPAL-CONTRIB-2026-335 changed 2026-11-11 | MIT |