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.
{
"cwe_ids": [
"CWE-79"
],
"github_reviewed": true,
"severity": "MODERATE",
"github_reviewed_at": "2022-02-04T16:10:27Z",
"nvd_published_at": "2022-02-03T02:15:00Z"
}