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.
| Package (Ecosystem) | Introduced | Fixed | Limit |
|---|---|---|---|
| Django(PyPI) | 2.2 | 2.2.27 | N/A |
| Django(PyPI) | 3.2 | 3.2.12 | N/A |
| Django(PyPI) | 4.0 | 4.0.2 | N/A |
CVSS Metrics