PT-2021-14491

CVE-2021-21416

·

Published

2021-04-01

·

Updated

2026-10-04

Description by

CVSS 3.1
3.7
Low
MetricsAV:L/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions django-registration versions prior to 3.1.2
Description The django-registration package has an issue where the base user-account registration view does not properly apply filters to sensitive data. This can result in sensitive data being included in error reports rather than being removed automatically by Django. For this to occur, a site must be using django-registration prior to 3.1.2, have detailed error reports enabled, and experience a server-side error during an account registration attempt. Under these conditions, recipients of the detailed error report may see all submitted data, including the user's proposed credentials, such as a password.
Recommendations For django-registration versions prior to 3.1.2, update to version 3.1.2 or later, which properly applies Django's sensitive post parameters() decorator to the base user-registration view. As a temporary workaround, users who cannot upgrade quickly can apply the django.views.decorators.debug.sensitive post parameters() decorator to their own registration views by using Django's method decorator() helper on the dispatch() method of the appropriate RegistrationView class.
Exploitability
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-58C7-PX5V-82HH
MGASA-2022-0178
OPENSUSE-SU-2021:0588-1
OPENSUSE-SU-2021_0588-1
OPENSUSE-SU-2021:0597-1
OPENSUSE-SU-2024:11226-1
OPENSUSE-SU-2024:14138-1
OPENSUSE-SU-2026:12007-1
PYSEC-2021-11
Found an issue in the description? Have something to add? Feel free to write us 👾