ADVISORIES

Drupal Security Advisory

DRUPAL-CONTRIB-2026-107

Details

The module provides a permission that allows users to configure email templates containing Twig code. This permission was not marked as restricted.

A site administrator might inadvertently grant this permission to less-trusted users. This would allow those users to execute Twig within email templates, and to gain access to functionality and information intended only for highly trusted administrators.

Affected packages

EcosystemPackageAffected versions
Packagist:https://packages.drupal.org/8drupal/content_moderation_notifications
All versions before 3.9.0 (fixed in 3.9.0)

References