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 |
https://www.debian.org/security/2022/dsa-5254 | Third Party Advisory |
Configurations
Configuration 1 (hide)
|
Configuration 2 (hide)
|
Configuration 3 (hide)
|
Information
Published : 2022-02-02 18:15
Updated : 2022-11-07 10:34
NVD link : CVE-2022-22818
Mitre link : CVE-2022-22818
JSON object : View
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Products Affected
debian
- debian_linux
djangoproject
- django
fedoraproject
- fedora