Medium

contao/newsletter-bundle: Contao newsletter custom actions bypass channel-scoped authorization

  • Disclosed: 20.11.2026
  • Updated: 21.11.2026 02:17

Channel access is enforced only by the DataContainer voters (NewsletterChannelAccessVoter / NewsletterRecipientsAccessVoter, requiring USER_CAN_EDIT_CHANNEL), whose supportsType() fires exclusively for Create/Read/Update/DeleteAction subjects dispatched inside DC_Table's create/edit/delete methods. The newsletter custom key-actions are dispatched directly by Backend::getBackendModule() (Backend.php:324-327) after only the module-level USER_CAN_ACCESS_MODULE check; the DC_Table constructor runs no per-record ReadAction vote for a key-action. Newsletter.php contains no isGranted / denyAccess / isAdmin / hasAccess calls, and none of the newsletter DCAs have a checkPermission onload callback.

Impact

A channel-scoped newsletter editor can inject recipients into, mass-mail, and in some versions, delete/denylist recipients of channels they are not authorized to edit - defeating the per-channel permission model (integrity + abuse of the mail-sending capability).

Credits

This security vulnerability was found by @HDWSec

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package contao/newsletter-bundle >= 5.0.0, < 5.3.50, >= 5.4.0-RC1, < 5.7.12 5.3.50, 5.7.12

References

CVSS score 4.3/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Weakness (CWE)
CWE-639, CWE-862
Platform
Composer
Package
contao/newsletter-bundle
Disclosed
20.11.2026
Updated
21.11.2026 02:17

Sources and licenses

OSV / GitHub Advisory Database - GHSA-3r9g-pfhv-3228 - CC BY 4.0

Vulnerability history: contao/newsletter-bundle

All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.

This is the only known vulnerability of this package.

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.