NetSight
medium6.1

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.

Impact

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 products

VendorProductAffected versions
DjangoprojectDjango
from 2.2 before 2.2.27
from 3.2 before 3.2.12
from 4.0 before 4.0.2
FedoraprojectFedora
Version 35
DebianDebian Linux
Version 11.0

Weakness classification

References