Description
This module enables the creation of reusable section templates for the Drupal core Layout Builder module.
The module doesn't sufficiently sanitize the template label when it is displayed.
This vulnerability is mitigated by the fact that an attacker must have a role with the permission *Add section library templates*.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | drupal/section_library | < 1.2.4 · >= 2.0.0, < 2.0.3 | 1.2.4, 2.0.3 | DRUPAL-CONTRIB-2026-368 |