cbcvebase.
CVE-2022-22818
published 2022-02-03

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…

PriorityP428medium6.1CVSS 3.1
AVNACLPRNUIRSCCLILAN
EPSS
3.33%
87.1th percentile
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.

Affected

9 ranges
VendorProductVersion rangeFixed in
debiandebian_linux
debianpython-django< python-django 2:3.2.12-1 (bookworm)python-django 2:3.2.12-1 (bookworm)
djangoprojectdjango>= 2.2 < 2.2.272.2.27
djangoprojectdjango>= 2.2 < 2.2.272.2.27
djangoprojectdjango>= 3.2 < 3.2.123.2.12
djangoprojectdjango>= 3.2 < 3.2.123.2.12
djangoprojectdjango>= 4.0 < 4.0.24.0.2
djangoprojectdjango>= 4.0 < 4.0.24.0.2
fedoraprojectfedora

CVSS provenance

nvdv3.16.1MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:P/A:N
osv6.1MEDIUM
vendor_debian6.1MEDIUM
vendor_redhat6.1MEDIUM
vendor_ubuntu6.1MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.