2022-01-11 16:57:01 +08:00
|
|
|
===========================
|
|
|
|
Django 3.2.12 release notes
|
|
|
|
===========================
|
|
|
|
|
|
|
|
*February 1, 2022*
|
|
|
|
|
|
|
|
Django 3.2.12 fixes two security issues with severity "medium" in 3.2.11.
|
|
|
|
|
2022-01-02 07:37:40 +08:00
|
|
|
CVE-2022-22818: Possible XSS via ``{% debug %}`` template tag
|
|
|
|
=============================================================
|
|
|
|
|
|
|
|
The ``{% debug %}`` template tag didn't properly encode the current context,
|
|
|
|
posing an XSS attack vector.
|
|
|
|
|
2022-02-02 14:17:57 +08:00
|
|
|
In order to avoid this vulnerability, ``{% debug %}`` no longer outputs
|
2022-01-02 07:37:40 +08:00
|
|
|
information when the ``DEBUG`` setting is ``False``, and it ensures all context
|
|
|
|
variables are correctly escaped when the ``DEBUG`` setting is ``True``.
|
2022-01-21 14:50:03 +08:00
|
|
|
|
|
|
|
CVE-2022-23833: Denial-of-service possibility in file uploads
|
|
|
|
=============================================================
|
|
|
|
|
|
|
|
Passing certain inputs to multipart forms could result in an infinite loop when
|
|
|
|
parsing files.
|