PyPI/django CVE-2022-22818: unknown, EPSS 3.36%
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.
Action: Upgrade django to 2.2.27 or later.
pip install django==2.2.27pip install django==3.2.12pip install django==4.0.2Affected
| introduced | fixed | last affected |
|---|---|---|
| 2.2 | 2.2.27 | - |
| 3.2 | 3.2.12 | - |
| 4.0 | 4.0.2 | - |
Fixed versions
| 2.2.27 | 3.2.12 | 4.0.2 |
Sources
- osv: PYSEC-2022-19
- https://docs.djangoproject.com/en/4.0/releases/security/
- https://www.djangoproject.com/weblog/2022/feb/01/security-releases/
- https://groups.google.com/forum/#!forum/django-announce
- https://github.com/advisories/GHSA-95rw-fx8r-36v6
CVE-2022-22818 · published · modified · JSON