Vulnerability
CVE-2022-22818
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.
28 advisories report this vulnerability, across 9 ecosystems.
Advisories
-
ALPINE-CVE-2022-22818
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.
- ALPINE-EDGE-CVE-2022-22818
-
DEBIAN-CVE-2022-22818
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.
-
DLA-2906-1
python-django - security update
-
DLA-3191-1
python-django - security update
-
DSA-5254-1
python-django - security update
-
GHSA-95rw-fx8r-36v6
Cross-site Scripting in Django
-
OESA-2022-1530
python-django security update
-
OESA-2022-2055
python-django security update
-
PYSEC-2022-19
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.
-
RHSA-2022:5498
Red Hat Security Advisory: Satellite 6.11 Release
-
RHSA-2022:8506
Red Hat Security Advisory: Satellite 6.12 Release
-
RHSA-2022:8853
Red Hat Security Advisory: Red Hat OpenStack Platform 16.2.4 (python-django20) security update
-
RHSA-2022:8872
Red Hat Security Advisory: Red Hat OpenStack Platform 16.1.9 (python-django20) security update
-
RLSA-2022:5498
Moderate: Satellite 6.11 Release
-
RLSA-2022:8506
Important: Satellite 6.12 Release
-
SUSE-SU-2022:0285-1
Security update for python-Django1
-
SUSE-SU-2022:0286-1
Security update for python-Django
-
UBUNTU-CVE-2022-22818
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.
-
USN-5269-1
python-django vulnerabilities
-
USN-5269-2
python-django vulnerabilities
-
openSUSE-SU-2023:0005-1
Security update for python-Django
-
openSUSE-SU-2024:11804-1
python310-Django-4.0.2-1.1 on GA media
-
openSUSE-SU-2024:14208-1
python310-Django4-4.2.14-1.1 on GA media
-
openSUSE-SU-2025:14662-1
python311-Django-5.1.5-1.1 on GA media
-
openSUSE-SU-2026:10005-1
python312-Django6-6.0-1.1 on GA media
-
openSUSE-SU-2026:11235-1
python313-Django4-4.2.30-4.1 on GA media
-
openSUSE-SU-2026:11270-1
python313-Django5-5.2.16-1.1 on GA media
References
- https://docs.djangoproject.com/en/4.0/releases/security/
- https://groups.google.com/forum/#%21forum/django-announce
- 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
- https://www.djangoproject.com/weblog/2022/feb/01/security-releases/