{"id":"CVE-2020-7471","url":"https://www.cyber-defence.io/tools/cve/CVE-2020-7471","generatedAt":"2026-11-05T02:21:49.935Z","title":"Django 1.11 before 1.11.28, 2.2 before 2.2.10, and 3.0 before 3.0.3 allows SQL Injection if untrusted data is used as a StringAgg delimiter (e.g., in Django applications that offer downloads of data as a series of rows with a user-specified column…","description":"Django 1.11 before 1.11.28, 2.2 before 2.2.10, and 3.0 before 3.0.3 allows SQL Injection if untrusted data is used as a StringAgg delimiter (e.g., in Django applications that offer downloads of data as a series of rows with a user-specified column delimiter). By passing a suitably crafted delimiter to a contrib.postgres.aggregates.StringAgg instance, it was possible to break escaping and inject malicious SQL.","published":"2020-02-03T12:15:27.000Z","lastModified":"2026-06-17T03:24:51.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"cwe":["CWE-89"],"affected":["djangoproject/django"],"epss":{"score":0.65575,"percentile":0.99264,"date":"2026-11-03","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"urgent","text":"EPSS puts the probability of exploitation in the next 30 days at 65.6%, higher than 99% of all known CVEs. Patch or mitigate before the next change window."},"changes":[],"references":[{"url":"http://www.openwall.com/lists/oss-security/2020/02/03/1","tags":["Mailing List","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://docs.djangoproject.com/en/3.0/releases/security/","tags":["Vendor Advisory"],"source":"cve@mitre.org"},{"url":"https://github.com/django/django/commit/eb31d845323618d688ad429479c6dda973056136","tags":["Patch","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://groups.google.com/forum/#%21topic/django-announce/X45S86X5bZI","source":"cve@mitre.org"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4A2AP4T7RKPBCLTI2NNQG3T6MINDUUMZ/","source":"cve@mitre.org"},{"url":"https://seclists.org/bugtraq/2020/Feb/30","source":"cve@mitre.org"},{"url":"https://security.gentoo.org/glsa/202004-17","source":"cve@mitre.org"},{"url":"https://security.netapp.com/advisory/ntap-20200221-0006/","source":"cve@mitre.org"},{"url":"https://usn.ubuntu.com/4264-1/","source":"cve@mitre.org"},{"url":"https://www.debian.org/security/2020/dsa-4629","source":"cve@mitre.org"},{"url":"https://www.djangoproject.com/weblog/2020/feb/03/security-releases/","tags":["Vendor Advisory"],"source":"cve@mitre.org"},{"url":"https://www.openwall.com/lists/oss-security/2020/02/03/1","tags":["Mailing List","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"http://www.openwall.com/lists/oss-security/2020/02/03/1","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://docs.djangoproject.com/en/3.0/releases/security/","tags":["Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/django/django/commit/eb31d845323618d688ad429479c6dda973056136","tags":["Patch","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://groups.google.com/forum/#%21topic/django-announce/X45S86X5bZI","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4A2AP4T7RKPBCLTI2NNQG3T6MINDUUMZ/","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://seclists.org/bugtraq/2020/Feb/30","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.gentoo.org/glsa/202004-17","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.netapp.com/advisory/ntap-20200221-0006/","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://usn.ubuntu.com/4264-1/","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.debian.org/security/2020/dsa-4629","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.djangoproject.com/weblog/2020/feb/03/security-releases/","tags":["Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.openwall.com/lists/oss-security/2020/02/03/1","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-7471","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}