2.2.27.txt 639 B

1234567891011121314151617
  1. ===========================
  2. Django 2.2.27 release notes
  3. ===========================
  4. *February 1, 2022*
  5. Django 2.2.27 fixes two security issues with severity "medium" in 2.2.26.
  6. CVE-2022-22818: Possible XSS via ``{% debug %}`` template tag
  7. =============================================================
  8. The ``{% debug %}`` template tag didn't properly encode the current context,
  9. posing an XSS attack vector.
  10. In order to avoid this vulnerability, ``{% debug %}`` no longer outputs an
  11. information when the ``DEBUG`` setting is ``False``, and it ensures all context
  12. variables are correctly escaped when the ``DEBUG`` setting is ``True``.