Vulnerability advisory
PYSEC-2022-19
Also known as BIT-django-2022-22818CVE-2022-22818GHSA-95rw-fx8r-36v6
Severity
Severity not reported.
Affected versions
| Affected | Fixed in |
|---|---|
2.2 to before 2.2.27 | 2.2.27Advisories → |
3.2 to before 3.2.12 | 3.2.12Advisories → |
4.0 to before 4.0.2 | 4.0.2Advisories → |
Description
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.