ADVISORIES

Debian Security Tracker

DEBIAN-CVE-2022-22818

Details

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 packages

EcosystemPackageAffected versions
Debian:12python-django
All versions before 2:3.2.12-1 (fixed in 2:3.2.12-1)
Debian:13python-django
All versions before 2:3.2.12-1 (fixed in 2:3.2.12-1)
Debian:14python-django
All versions before 2:3.2.12-1 (fixed in 2:3.2.12-1)

References