All CVEs / Django-registration Project
CVE-2021-21416Django-registration Project Django-registration
Low 2.6
Follow: this CVE · Django-registration Project · Django-registration Project Django-registration We alert you by email or Slack (account required).
- Priority
- 16
- CVSS 3.1
- 2.6
- EPSS
- 0.4% probability of exploitation in 30 days · percentile 37
- Auth required
- Yes
- Published
- Apr 1, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-209
- Vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:N/A:N
What happens
django-registration is a user registration package for Django. The django-registration package provides tools for implementing user-account registration flows in the Django web framework. In django-registration prior to 3.1.2, the base user-account registration view did not properly apply filters to sensitive data, with the result that sensitive data could be included in error reports rather than removed automatically by Django. Triggering this requires: A site is using django-registration < 3.1.2, The site has detailed error reports (such as Django's emailed error reports to site staff/developers) enabled and a server-side error (HTTP 5xx) occurs during an attempt by a user to register an account. Under these conditions, recipients of the detailed error report will see all submitted data from the account-registration attempt, which may include the user's proposed credentials (such as a password).
What to do
- Apply the vendor's security update for Django-registration.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | django-registration |
< 3.1.2 |
3.1.2 |
pip install "django-registration>=3.1.2" |
| PyPI | django-registration |
< 3.1.2 |
3.1.2 |
pip install "django-registration>=3.1.2" |
Per OSV / GitHub Advisories (GHSA-58c7-px5v-82hh, PYSEC-2021-11). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| django-registration_project | django-registration | < 3.1.2 |
Official advisories
- python313-django-registration-5.2.1-1.3 on GA media · SUSE · openSUSE-SU-2026:12007-1 · Oct 4, 2026 Low
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Mitigation Third Party Advisory