CVE-2022-22818: Debian Linux
Medium severity, CVSS 6.1. EPSS: 3.4% chance of exploitation in the next 30 days.
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
- Debian Debian Linux: version 11.0 only
- Djangoproject Django: from 2.2, before 2.2.27 (fixed in 2.2.27); from 3.2, before 3.2.12 (fixed in 3.2.12); from 4.0, before 4.0.2 (fixed in 4.0.2)
- Fedoraproject Fedora: version 35 only
Published 2022-02-03. Last modified 2026-06-17.