django
Affected
- introduced
2.2, fixed2.2.27(ecosystem)
Fixed versions
2.2.27
Fix
- Fixed version
2.2.27pip install --upgrade django==2.2.27
Advisory
Also known as: BIT-django-2022-22818, CVE-2022-22818, PYSEC-2022-19
Cross-site Scripting in Django
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.
Medium Basis: The source's own band: MODERATE
2.2, fixed 2.2.27 (ecosystem)2.2.27
2.2.27pip install --upgrade django==2.2.273.2, fixed 3.2.12 (ecosystem)3.2.12
3.2.12pip install --upgrade django==3.2.124.0, fixed 4.0.2 (ecosystem)4.0.2
4.0.2pip install --upgrade django==4.0.2Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0