Cross-site Scripting in Django
Moderate severity
GitHub Reviewed
Published
Feb 4, 2022
to the GitHub Advisory Database
•
Updated Sep 20, 2024
Package
Affected versions
>= 2.2, < 2.2.27
>= 3.2, < 3.2.12
>= 4.0, < 4.0.2
Patched versions
2.2.27
3.2.12
4.0.2
Description
Published by the National Vulnerability Database
Feb 3, 2022
Published to the GitHub Advisory Database
Feb 4, 2022
Reviewed
Feb 4, 2022
Last updated
Sep 20, 2024
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.References