Drupal Security Advisory
DRUPAL-CORE-2026-012
Details
The Layout Builder module doesn't sufficiently sanitize block labels in certain scenarios, which can lead to a cross-site scripting (XSS) vulnerability.
This is mitigated by the fact that both the attacker and the targeted user need to be using the Layout Builder editing interface.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | drupal/core | All versions before 10.6.13 (fixed in 10.6.13) From 11.3.0 before 11.3.14 (fixed in 11.3.14) From 11.4.0 before 11.4.4 (fixed in 11.4.4) From 11.0.0 before 11.1.0 (fixed in 11.1.0) From 11.1.0 before 11.2.0 (fixed in 11.2.0) From 11.2.0 before 11.3.0 (fixed in 11.3.0) |