The {% debug %}
template tag in Django 2.2 before 2.2.27, 3.2 before 3.2.12, and 4.0 before 4.0.2 does not properly encode the current context. This may lead to XSS.
docs.djangoproject.com/en/4.0/releases/security
github.com/django/django
github.com/django/django/commit/01422046065d2b51f8f613409cad2c81b39487e5
github.com/django/django/commit/1a1e8278c46418bde24c86a65443b0674bae65e2
github.com/django/django/commit/c27a7eb9f40b64990398978152e62b6ff839c2e6
groups.google.com/forum/#!forum/django-announce
lists.fedoraproject.org/archives/list/[email protected]/message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV
nvd.nist.gov/vuln/detail/CVE-2022-22818
security.netapp.com/advisory/ntap-20220221-0003
www.debian.org/security/2022/dsa-5254
www.djangoproject.com/weblog/2022/feb/01/security-releases