Ubuntu CVE Tracker
UBUNTU-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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:14.04:LTS | python-django | All versions before 1.6.11-0ubuntu1.3+esm4 (fixed in 1.6.11-0ubuntu1.3+esm4) |
| Ubuntu:Pro:16.04:LTS | python-django | All versions before 1.8.7-1ubuntu5.15+esm4 (fixed in 1.8.7-1ubuntu5.15+esm4) |
| Ubuntu:18.04:LTS | python-django | All versions before 1:1.11.11-1ubuntu1.16 (fixed in 1:1.11.11-1ubuntu1.16) |
| Ubuntu:20.04:LTS | python-django | All versions before 2:2.2.12-1ubuntu0.10 (fixed in 2:2.2.12-1ubuntu0.10) |