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.
https://www.djangoproject.com/weblog/2022/feb/01/security-releases/
https://www.debian.org/security/2022/dsa-5254
https://security.netapp.com/advisory/ntap-20220221-0003/