DRUPAL-CONTRIB-2026-368

See a problem?
Import Source
https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/section_library/DRUPAL-CONTRIB-2026-368.json
JSON Data
https://api.osv.dev/v1/vulns/DRUPAL-CONTRIB-2026-368
Published
2026-12-02T18:05:24Z
Modified
2026-12-02T19:15:04Z
Summary
[none]
Details

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.

References
Credits

Affected packages

Packagist:https://packages.drupal.org/8 / drupal/section_library

Package

Name
drupal/section_library
Purl
pkg:composer/drupal/section_library?repository_url=https:%2F%2Fpackages.drupal.org%2F8

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.2.4
Database specific
Show details
{
    "constraint":  "<1.2.4"
}
Type
ECOSYSTEM
Events
Introduced
2.0.0
Fixed
2.0.3
Database specific
Show details
{
    "constraint":  ">=2.0.0 <2.0.3"
}

Database specific

affected_versions
"<1.2.4 || >=2.0.0 <2.0.3"
source
"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/section_library/DRUPAL-CONTRIB-2026-368.json"