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.
Install the latest version:
- If you use Content Moderation Notifications, upgrade to version 8.x-3.9.
- Review roles to ensure only trusted roles have access to the "administer content moderation notifications" permission.
changed.
- Lee Rowlands (larowlan) of the Drupal Security Team
- Luke Leber (luke.leber)
- Swan Kalata (akalata) of the Drupal Security Team
- Greg Knaddison (greggles) of the Drupal Security Team
- Lee Rowlands (larowlan) of the Drupal Security Team
- Juraj Nemec (poker10) of the Drupal Security Team