Skip to content

Commit d68ec81

Browse files
committed
Add release notes for security advisory.
1 parent 8206af0 commit d68ec81

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

docs/upgrade.rst

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,29 @@ Within the 3.x release series, there have been several minor changes
1616
and improvements, documented here along with the version in which they
1717
occurred.
1818

19-
django-registration 3.1
19+
django-registration 3.1.2
20+
~~~~~~~~~~~~~~~~~~~~~~~~~
21+
22+
This release fixes a security issue with low severity.
23+
24+
Prior to 3.1.2, django-registration did not apply Django's
25+
:func:`~django.views.decorators.debug.sensitive_post_parameters`
26+
decorator to the base
27+
:class:`~django_registration.views.RegistrationView`. This meant that
28+
if detailed error reports, such as `Django's error reports emailed to
29+
site staff
30+
<https://docs.djangoproject.com/en/3.1/howto/error-reporting/#email-reports>`_,
31+
were enabled, and a server-side error occurred during account
32+
registration, the generated error report would include all fields
33+
submitted in the HTTP request, some of which are potentially sensitive
34+
depending on the user-account model and registration workflow in use.
35+
36+
This issue is CVE-XXXX and GitHub security advisory
37+
GHSA-58c7-px5v-82hh.
38+
39+
Thanks to Martin Morgenstern for reporting this issue.
40+
41+
Django-registration 3.1
2042
~~~~~~~~~~~~~~~~~~~~~~~
2143

2244
* When an attempt was made to use django-registration with a custom

0 commit comments

Comments
 (0)