Vulnerability advisory
PYSEC-2022-191
Also known as BIT-django-2022-28347CVE-2022-28347GHSA-w24h-v9qh-8gxj
Severity
Severity not reported.
Affected versions
| Affected | Fixed in |
|---|---|
4.0 to before 4.0.4 | 4.0.4Advisories → |
3.2 to before 3.2.13 | 3.2.13Advisories → |
2.2 to before 2.2.28 | 2.2.28Advisories → |
Description
A SQL injection issue was discovered in QuerySet.explain() in Django 2.2 before 2.2.28, 3.2 before 3.2.13, and 4.0 before 4.0.4. This occurs by passing a crafted dictionary (with dictionary expansion) as the **options argument, and placing the injection payload in an option name.