diff --git a/docs/releases/2.2.27.txt b/docs/releases/2.2.27.txt index 688a48257554a..2a9b24be421ec 100644 --- a/docs/releases/2.2.27.txt +++ b/docs/releases/2.2.27.txt @@ -12,7 +12,7 @@ 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 +In order to avoid this vulnerability, ``{% debug %}`` no longer outputs information when the ``DEBUG`` setting is ``False``, and it ensures all context variables are correctly escaped when the ``DEBUG`` setting is ``True``. diff --git a/docs/releases/3.2.12.txt b/docs/releases/3.2.12.txt index 090705079170a..68a775463b3ef 100644 --- a/docs/releases/3.2.12.txt +++ b/docs/releases/3.2.12.txt @@ -12,7 +12,7 @@ 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 +In order to avoid this vulnerability, ``{% debug %}`` no longer outputs information when the ``DEBUG`` setting is ``False``, and it ensures all context variables are correctly escaped when the ``DEBUG`` setting is ``True``.