Vulnerabilities

CVE-2024-45231

Medium 5.3 CVSS 3.1

Description

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).

Description as published by the source, in English.

Key facts

Published
2024-10-08
Last modified
2026-06-17
Assigned by
cve@mitre.org
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.8 % higher than 52 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
django (PyPI) < 4.2.16 Affected
django (PyPI) ≥ 5.0, < 5.0.9 Affected
django (PyPI) ≥ 5.1, < 5.1.1 Affected
Djangoproject Django 5.1 Affected
Djangoproject Django ≥ 4.2.0, < 4.2.16 Affected
Djangoproject Django ≥ 5.0, < 5.0.9 Affected

Weakness type

  • CWE-203: Observable Discrepancy

    The product behaves differently or sends different responses under different circumstances in a way that is observable to an unauthorized actor.

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities