CVE-2022-22818
MEDIUM 5.3EPSS 3.4%
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.
- CVSS v4.0 GitHub
- 5.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N - CVSS v3.1 NVD
- 6.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - CVSS v2.0 NVD
- 4.3 MEDIUM
AV:N/AC:M/Au:N/C:N/I:P/A:N - EPSS
- 3.36% chance of exploitation in the next 30 days, 89th percentile
- Published
- 2022-02-03
- Updated
- 2024-08-03
Proof-of-concept exploits (1)
- Prikalel/django-xss-example3★ · 2023-06-02
Security advisories
- https://docs.djangoproject.com/en/4.0/releases/security
- 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
- advisories/GHSA-95rw-fx8r-36v6