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
| Link | Resource |
|---|---|
| https://docs.djangoproject.com/en/4.0/releases/security/ | Patch Third Party Advisory |
| https://www.djangoproject.com/weblog/2022/feb/01/security-releases/ | Exploit Patch Third Party Advisory |
| https://groups.google.com/forum/#!forum/django-announce | Issue Tracking Mailing List Third Party Advisory |
| https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV/ | Mailing List Vendor Advisory |
| https://security.netapp.com/advisory/ntap-20220221-0003/ | Third Party Advisory |
Information
Published : 2022-02-03 02:15
Updated : 2022-02-22 10:19
NVD link : CVE-2022-22818
Mitre link : CVE-2022-22818
JSON object : View
Products Affected
fedoraproject
- fedora
djangoproject
- django
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
