User email disclosure in /user/password

Created on 26 January 2015, almost 10 years ago
Updated 20 July 2023, over 1 year ago

This issue has been investigated by the Drupal Security Team and it has been decided to handle this as public security improvement.

After a failed login attempt, the link to the "Reset password" form in the error message includes the user's username or email address in the query string. This can lead to PII disclosure when following that link, e.g. when including advertisements that send the whole page URL as referrer on the target page.
It should at least be configurable whether the email will be included in the generated link or not. A proposed patch will be attached.

Steps to reproduce:
- try to log in to the site with wrong password
- follow the "forgotten your password" link in the error message
- now the user's username or email is disclosed in the page URL.

🐛 Bug report
Status

Fixed

Version

11.0 🔥

Component
User module 

Last updated about 14 hours ago

Created by

Live updates comments and jobs are added and updated live.
  • Security improvements

    It makes Drupal less vulnerable to abuse or misuse. Note, this is the preferred tag, though the Security tag has a large body of issues tagged to it. Do NOT publicly disclose security vulnerabilities; contact the security team instead. Anyone (whether security team or not) can apply this tag to security improvements that do not directly present a vulnerability e.g. hardening an API to add filtering to reduce a common mistake in contributed modules.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024