{"cve":"CVE-2021-21416","nvd":{"published":"2021-04-01T22:15:11.653","modified":"2026-06-17T03:35:31.983","status":"Modified","description":"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).","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:N/A:N","score":2.6},"cwes":["CWE-209"],"references":["https://github.com/ubernostrum/django-registration/security/advisories/GHSA-58c7-px5v-82hh","https://github.com/ubernostrum/django-registration/security/advisories/GHSA-58c7-px5v-82hh"],"products":["django-registration_project:django-registration"],"source":"nvd","synced_at":"2026-10-19T21:17:01.373894544+00:00"},"epss":{"cve":"CVE-2021-21416","score":0.0041,"percentile":0.35289,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-58c7-px5v-82hh","url":"https://osv.dev/vulnerability/GHSA-58c7-px5v-82hh","summary":"Potential sensitive information disclosed in error reports","modified":"2026-07-08T06:27:33.519117704Z","packages":[{"ecosystem":"PyPI","name":"django-registration","purl":"pkg:pypi/django-registration","ranges":["<3.1.2"],"fixed":["3.1.2"]}]},{"id":"PYSEC-2021-11","url":"https://osv.dev/vulnerability/PYSEC-2021-11","summary":"","modified":"2023-11-08T04:04:45.212413Z","packages":[{"ecosystem":"PyPI","name":"django-registration","purl":"pkg:pypi/django-registration","ranges":["<3.1.2"],"fixed":["3.1.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}