{"id":"CVE-2022-28347","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.","aliases":["BIT-django-2022-28347","GHSA-w24h-v9qh-8gxj","PYSEC-2022-191"],"modified":"2026-04-16T04:32:14.740613923Z","published":"2022-04-12T05:15:07.357Z","related":["openSUSE-SU-2023:0005-1","openSUSE-SU-2024:12094-1","openSUSE-SU-2024:14208-1","openSUSE-SU-2025:14662-1","openSUSE-SU-2026:10005-1"],"references":[{"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":"FIX","url":"https://www.djangoproject.com/weblog/2022/apr/11/security-releases/"},{"type":"FIX","url":"http://www.openwall.com/lists/oss-security/2022/04/11/1"},{"type":"FIX","url":"https://docs.djangoproject.com/en/4.0/releases/security/"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/django/django","events":[{"introduced":"2a62cdcfec85938f40abb2e9e6a9ff497e02afe8"},{"fixed":"5c3300027b30c1b498d99010f7d618316f685045"},{"introduced":"3591e1c1acbd7c13174275367c3fdf012cb0413b"},{"fixed":"08e6073f878264a0c091da0d3db456820252ef6c"},{"introduced":"ef62a3a68c9d558486145a42c0d71ea9a76add9e"},{"fixed":"89807fbde8b7b17d00434bc4695535855e96fe77"}],"database_specific":{"versions":[{"introduced":"2.2"},{"fixed":"2.2.28"},{"introduced":"3.2"},{"fixed":"3.2.13"},{"introduced":"4.0"},{"fixed":"4.0.4"}]}}],"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"11.0"}]}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-28347.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}