An issue was discovered in Django v5.1.1, v5.0.9, and v4.2.16. The django.contrib.auth.forms.PasswordResetForm class, when used in a view implementing password reset flows, allows remote attackers to enumerate user e-mail addresses by sending password reset requests and observing the outcome (only when e-mail sending is consistently failing).
{
"severity": "MODERATE",
"nvd_published_at": "2024-10-08T16:15:11Z",
"github_reviewed": true,
"cwe_ids": [
"CWE-203",
"CWE-204"
],
"github_reviewed_at": "2024-10-08T21:17:00Z"
}