# CVE-2022-28347: python3-django: 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 be...

CVE-2022-28347 is fixed in 3 products on 1 platform, first by python3-django 2:2.2.12-1ubuntu0.11, released April 11, 2022. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2022-28347
- Priority: High
- CVSS: 9.8 (High)
- EPSS: 0.0294
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Apr 11, 2022

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libdb rocky 8 | 0:5.3.28-42.el8_4 | [RLSA-2022:5498](https://patchblox.com/security/data/fix/linux/rlsa-2022-5498.md) | Jul 5, 2022 |
| Linux | python-django Debian 12.15 (bookworm) | 2:3.2.13-1 | [DEBIAN-CVE-2022-28347](https://patchblox.com/security/data/fix/linux/debian-cve-2022-28347.md) | Apr 12, 2022 |
| Linux | python-django Debian 13.5 (trixie) | 2:3.2.13-1 | [DEBIAN-CVE-2022-28347](https://patchblox.com/security/data/fix/linux/debian-cve-2022-28347.md) | Apr 12, 2022 |
| Linux | python-django Debian 14 | 2:3.2.13-1 | [DEBIAN-CVE-2022-28347](https://patchblox.com/security/data/fix/linux/debian-cve-2022-28347.md) | Apr 12, 2022 |
| Linux | python3-django Ubuntu 20.04 LTS (focal) | 2:2.2.12-1ubuntu0.11 | [python3-django 2:2.2.12-1ubuntu0.11](https://patchblox.com/security/data/fix/linux/ubuntu-focal-python3-django-2-2.2.12-1ubuntu0.11.md) | Apr 11, 2022 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
