drupal/section_library · Section library: This module enables the creation of reusable section templates for the Drupal core Layout Builder
Affects drupal/section_librarySource GCVE Database
Rated Medium by Threat Radar's AI analysis
- Patch
- Available – fixed in 2.0.3, 1.2.4
Data as of 2 Dec 2026, 20:18 UTC
What to do
Upgrade drupal/section_library to 2.0.3 or 1.2.4.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Packagist https //packages.drupal.org/8drupal/section_library | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade to Section Library module versions 1.2.4 or 2.0.3 or later, where the vulnerability is fixed. Since a patch is available, applying the official fix is the recommended remediation.
Description
The Drupal Section Library module allows creation of reusable section templates for the core Layout Builder. A vulnerability exists due to insufficient sanitization of the template label when displayed. Exploitation requires the attacker to have the 'Add section library templates' permission, limiting the attack surface. Fixed versions 1.2.4 and 2.0.3 address this issue.