CVE-2022-28347: Django - SQL Injection
- Cve: CVE-2022-28347
- Name: Django - SQL Injection
- 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.
- Impact: Attackers can execute arbitrary SQL commands, potentially leading to data leakage, modification, or deletion.
- Remediation: Update Django to version 2.2.28, 3.2.13, or 4.0.4 or later.
- Vulnerability type: sql_injection
- Vulnerability impact: information_disclosure, data_tampering
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.02943
- Epss percentile: 0.87481
- Assignee: [email protected]
- Published at: 2022-04-12T05:15:07Z
- Age in days: 1687
- Modified at: 2026-06-17T04:38:24Z
- Patch available: yes
- References total: 7
- Products total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-28347
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| djangoproject:django | >= 4.0, < 4.0.4; >= 3.2, < 3.2.13; >= 2.2, < 2.2.28 | no | nvd | /v1/products/djangoproject/django |
| debian:debian_linux | = 11.0 | no | nvd | /v1/products/debian/debian_linux |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| django/django | commit, fix, package | yes | /v1/repositories/django/django |
Index
- Repositories: 103
- Repositories high signal: 44
- Packages: 1
Exploitation
- Remote: yes
- Exposed hosts: 4739835
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports