{"id":"CVE-2024-45231","aliases":["BIT-django-2024-45231","GHSA-rrqc-c2jx-6jgv","PYSEC-2026-1297"],"url":"https://o3.security/vulnerability/CVE-2024-45231","summary":"Django allows enumeration of user e-mail addresses","details":"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).","published":"2024-10-08T00:00:00Z","modified":"2026-08-12T03:51:27.845855197Z","cvss":{"score":5.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"django","fixedVersion":"5.1.1"},{"ecosystem":"PyPI","name":"django","fixedVersion":"5.0.9"},{"ecosystem":"PyPI","name":"django","fixedVersion":"4.2.16"}],"fix":{"url":"https://github.com/django/django/commit/3c733c78d6f8e50296d6e248968b6516c92a53ca","label":"django/django@3c733c7"},"references":[{"type":"WEB","url":"https://docs.djangoproject.com/en/dev/releases/security/"},{"type":"WEB","url":"https://groups.google.com/forum/#%21forum/django-announce"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45231.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45231"},{"type":"ARTICLE","url":"https://www.djangoproject.com/weblog/2024/sep/03/security-releases/"},{"type":"WEB","url":"https://github.com/django/django/commit/3c733c78d6f8e50296d6e248968b6516c92a53ca"},{"type":"WEB","url":"https://github.com/django/django/commit/96d84047715ea1715b4bd1594e46122b8a77b9e2"},{"type":"WEB","url":"https://github.com/django/django/commit/bf4888d317ba4506d091eeac6e8b4f1fcc731199"},{"type":"WEB","url":"https://docs.djangoproject.com/en/dev/releases/security"},{"type":"PACKAGE","url":"https://github.com/django/django"},{"type":"WEB","url":"https://www.djangoproject.com/weblog/2024/sep/03/security-releases"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:27.845855197Z"}}