{"schema_version":"1.9.0","id":"BIT-django-2022-28347","published":"2024-03-06T10:52:57.760Z","modified":"2026-09-08T08:46:37.826190383Z","aliases":["CVE-2022-28347","GHSA-w24h-v9qh-8gxj","PYSEC-2022-191"],"details":"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.","affected":[{"package":{"name":"django","ecosystem":"Bitnami","purl":"pkg:bitnami/django"},"ranges":[{"type":"SEMVER","events":[{"introduced":"2.2.0"},{"fixed":"2.2.28"},{"introduced":"3.2.0"},{"fixed":"3.2.13"},{"introduced":"4.0.0"},{"fixed":"4.0.4"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/django/BIT-django-2022-28347.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}],"references":[{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2022/04/11/1"},{"type":"ADVISORY","url":"https://docs.djangoproject.com/en/4.0/releases/security/"},{"type":"WEB","url":"https://groups.google.com/forum/#%21forum/django-announce"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HWY6DQWRVBALV73BPUVBXC3QIYUM24IK/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LTZVAKU5ALQWOKFTPISE257VCVIYGFQI/"},{"type":"ADVISORY","url":"https://www.debian.org/security/2022/dsa-5254"},{"type":"ADVISORY","url":"https://www.djangoproject.com/weblog/2022/apr/11/security-releases/"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-28347"}],"database_specific":{"cpes":["cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*"],"severity":"Critical"}}