Back to Database
Status published
Medium
CVE-2022-22818
The {% debug %} template tag in Django 2.2 before...
Vulnerability 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.
Impact Analysis
Refer to official advisory for detailed impact metrics.
Remediation
Ensure systems are updated to the latest vendor-supplied patch levels.
THREAT MONITOR
Am I Vulnerable?
Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2022-22818
Credits & Attribution
No credits recorded in the NVD database.
References
- https://groups.google.com/forum/#%21forum/django-announce
- https://docs.djangoproject.com/en/4.0/releases/security/
- https://www.djangoproject.com/weblog/2022/feb/01/security-releases/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV/
- https://security.netapp.com/advisory/ntap-20220221-0003/
- https://www.debian.org/security/2022/dsa-5254
More from djangoproject
View All →CVE-2025-64460
Potential denial-of-service vulnerability in XML serializer text extraction
Unknown
0
CVE-2025-64459
Potential SQL injection via _connector keyword argument in QuerySet and Q objects
Unknown
0
CVE-2025-64458
Potential denial-of-service vulnerability in HttpResponseRedirect and HttpResponsePermanentRedirect on Windows
Unknown
0
CVE-2025-59682
An issue was discovered in Django 4.2 before 4.2.25, 5.1...
Low
3.1
CVE-2025-59681
An issue was discovered in Django 4.2 before 4.2.25, 5.1...
High
7.1
Affected Vendor
djangoproject
View all reports →Affected Software
django, fedora, debian linux
Vulnerable Versions:
2.2, 3.2, 4.0, 35, 11.0
Timeline
Official Publish:
February 3rd, 2022
Last Modified:
August 3rd, 2024
Added to House:
July 21st, 2026
CVSS Vectors
V3:
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weaknesses (CWE)
No CWE data available
MITRE ATT&CK TTPs
No associated TTPs found for this vulnerability.