CVE-2026-107843: Contao: The registration module re-sends activation mails
ModuleRegistration::compile() reaches its follow-up registration branch on any POST to a page carrying the module. That branch checks neither FORMSUBMIT nor the captcha result computed immediately above it, and resendActivationMail() leads to OptInToken::send(), which has no rate limit at all.
Published Oct 9, 2026
Affected packages
contao/core-bundle
- Ecosystem
- Composer (PHP)
- Affected
- >= 4.1.0, < 5.3.50
- Fixed in
- 5.3.50
- Check
composer show contao/core-bundle
contao/core-bundle
- Ecosystem
- Composer (PHP)
- Affected
- >= 5.4.0-RC1, < 5.7.12
- Fixed in
- 5.7.12
- Check
composer show contao/core-bundle
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
ModuleRegistration::compile() reaches its follow-up registration branch on any POST to a page carrying the module. That branch checks neither FORM_SUBMIT nor the captcha result computed immediately above it, and resendActivationMail() leads to OptInToken::send(), which has no rate limit at all.
Impact
Anyone on the internet can make a Contao installation send unlimited mail to an address of their choosing, from the site's own sender and reputation, at one outbound message per HTTP request. That is both a nuisance for the recipient and a deliverability risk for the site operator. The same request is a reliable account oracle for "this address has a pending registration on this site", which is exactly the sort of membership fact a public site is usually expected not to disclose.
Honest bound. The target must have an unconfirmed registration, that is tl_member.disable = 1 together with an unconfirmed reg- opt-in token. An attacker can create that state for an arbitrary address, since registration requires no ownership proof, but on a site where reg_activate is off the branch is unreachable.
Credited to HDWSec.
References
- https://github.com/contao/contao/security/advisories/GHSA-mfxh-vp55-7gc6
- https://github.com/contao/contao/commit/2ea6117f9049db7221679251cfc41e67d941a74b
- https://github.com/contao/contao/releases/tag/5.3.50
- https://github.com/contao/contao/releases/tag/5.7.12
- https://github.com/advisories/GHSA-mfxh-vp55-7gc6
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesCVE-2026-104882
contao/core-bundle: Improper access control in the CSV import wizard
medium6.5Nov 20, 2026CVE-2026-104883
contao/core-bundle: Non-admin users can self-grant permissions that implicitly make them administrators
high7.2Nov 20, 2026CVE-2026-104884
contao/core-bundle: Cross-site scripting in the frontend search results
medium5.4Nov 20, 2026CVE-2026-107842
Contao: Protected page content is disclosed to anonymous visitors after contao.search.index_protected is disabled
medium5.3Oct 9, 2026CVE-2026-107844
Contao: Path traversal in the images controller
medium5.3Oct 9, 2026CVE-2026-107848
Contao: Cross-site request forgery in custom backend actions
low3.5Oct 9, 2026
