HighGHSA-234q-vvw3-mrfq
Craft CMS has unauthenticated activation email trigger with potential user enumeration
Affected versions
5.0.0-RC1 to before 5.9.0-beta.2, 4.0.0-RC1 to before 4.17.0-beta.2 - fixed in 5.9.0-beta.2Details
The `actionSendActivationEmail()` endpoint is accessible to unauthenticated users and does not require a permission check for pending users. An attacker with no prior access can trigger activation emails for any pending user account by knowing or guessing the user ID. If the attacker controls the target user’s email address, they can activate the account and gain access to the system. The vulnerability is not that anonymous access exists - there’s a legitimate use case for it. The vulnerability is that the endpoint accepts arbitrary `userId` parameters without verifying ownership. Craft CMS
Is your site exposed?Run a free passive scan. See your platform, versions and the issues on your surface in under a minute.
Check if my site is affected