SQL injectionin the django package.
No public exploit found; not on exploited lists.
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.
- Upgrade Django (PyPI) to 2.2.28, 3.2.13, 4.0.4 or later, whichever matches your release line.
- Upgrade django (PyPI) to 2.2.28, 3.2.13, 4.0.4 or later, whichever matches your release line.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 2 Apr 2022CVE ID reserved by mitre.
- 12 Apr 2022Published in the CVE List.
- 13 Feb 2025CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other vulnerabilities in this package
- groups.google.com
- docs.djangoproject.com
- www.openwall.com
- www.djangoproject.com
- www.debian.org vendor-advisory
- lists.fedoraproject.org vendor-advisory
- lists.fedoraproject.org vendor-advisory
Patchminder. CVE-2022-28347: SQL injection in the django package. https://patchminder.com/cve/cve-2022-28347/ (accessed 5 December 2026).