{"cve":"CVE-2022-28347","nvd":{"published":"2022-04-12T05:15:07.357","modified":"2026-06-17T04:38:24.630","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-89"],"references":["http://www.openwall.com/lists/oss-security/2022/04/11/1","https://docs.djangoproject.com/en/4.0/releases/security/","https://groups.google.com/forum/#%21forum/django-announce","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HWY6DQWRVBALV73BPUVBXC3QIYUM24IK/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LTZVAKU5ALQWOKFTPISE257VCVIYGFQI/"],"products":["debian:debian_linux","djangoproject:django"],"source":"nvd","synced_at":"2026-10-19T21:30:03.577988018+00:00"},"epss":{"cve":"CVE-2022-28347","score":0.02943,"percentile":0.87138,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-w24h-v9qh-8gxj","url":"https://osv.dev/vulnerability/GHSA-w24h-v9qh-8gxj","summary":"SQL Injection in Django","modified":"2025-02-21T05:41:01.294618Z","packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=2.2 <2.2.28"],"fixed":["2.2.28"]},{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=3.2 <3.2.13"],"fixed":["3.2.13"]},{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=4.0 <4.0.4"],"fixed":["4.0.4"]}]},{"id":"PYSEC-2022-191","url":"https://osv.dev/vulnerability/PYSEC-2022-191","summary":"","modified":"2023-12-06T01:02:11.666037Z","packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=4.0 <4.0.4",">=3.2 <3.2.13",">=2.2 <2.2.28"],"fixed":["4.0.4","3.2.13","2.2.28"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}