Skip to content

Prevent email enumeration on public registration #17085

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: 4.16
Choose a base branch
from

Conversation

timkelty
Copy link
Contributor

Description

On a public registration form, email addresses can be leaked via enumeration when an existing email is entered.
When this happens, this PR will respond as though the user successfully registered – but instead of saving the user and sending an activation email, it will send an email verification to the existing user.

Questions

Is sending an activation email enough, or do we need a dedicated system message for this?

@timkelty timkelty requested a review from brandonkelly April 14, 2025 23:00
Base automatically changed from 4.15 to 4.x April 15, 2025 17:45
@brandonkelly brandonkelly changed the base branch from 4.x to 4.16 May 6, 2025 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants