Thanks Keryn Knight for the report. Backport of 394517f07886495efcf79f95c7ee402a9437bd68 from main. Co-authored-by: Adam Johnson <me@adamj.eu>
18 lines
639 B
Plaintext
18 lines
639 B
Plaintext
===========================
|
|
Django 2.2.27 release notes
|
|
===========================
|
|
|
|
*February 1, 2022*
|
|
|
|
Django 2.2.27 fixes two security issues with severity "medium" in 2.2.26.
|
|
|
|
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.
|
|
|
|
In order to avoid this vulnerability, ``{% debug %}`` no longer outputs an
|
|
information when the ``DEBUG`` setting is ``False``, and it ensures all context
|
|
variables are correctly escaped when the ``DEBUG`` setting is ``True``.
|