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.
| Software | From | Fixed in |
|---|---|---|
| djangoproject / django | 3.2 | 3.2.12 |
| djangoproject / django | 4.0 | 4.0.2 |
| djangoproject / django | 2.2 | 2.2.27 |
| fedoraproject / fedora | 35 | 35.x |
| debian / debian_linux | 11.0 | 11.0.x |
Django
|
2.2.0 | 2.2.27 |
Django
|
3.2.0 | 3.2.12 |
Django
|
4.0.0 | 4.0.2 |