--- title: "CVE-2020-7471: Django 1.11 before 1.11.28, 2.2… | CubePath" 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…" language: en source: https://cubepath.com/security/cve/CVE-2020-7471 --- # CVE-2020-7471: Django 1.11 before 1.11.28, 2.2… | CubePath ## 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. Official description from the CVE record, published by mitre. Copyright © 1999-2026 The MITRE Corporation. See [/security/cve/legal](https://cubepath.com/security/cve/legal) for the CVE license. [View the record on cve.org](https://www.cve.org/CVERecord?id=CVE-2020-7471) ## Key data ### EPSS Exploit Prediction Scoring System by FIRST: an estimate of the probability that exploitation activity will be observed in the next 30 days. Score 0.65575 (65.6% probability) Percentile 99.3% Scores of Nov 10, 2026 Model v2026.06.15 ## References Links listed in the CVE record. They lead to other sites, which CubePath does not control. - [groups.google.com/forum](https://groups.google.com/forum/#%21topic/django-announce/X45S86X5bZI) - [docs.djangoproject.com/en/3.0/releases/security](https://docs.djangoproject.com/en/3.0/releases/security/) - [openwall.com/lists/oss-security/2020/02/03/1](https://www.openwall.com/lists/oss-security/2020/02/03/1) - [djangoproject.com/weblog/2020/feb/03/security-releases](https://www.djangoproject.com/weblog/2020/feb/03/security-releases/) - [\[oss-security\] 20200203 Django 3.0.3, 2.2.10 and 1.11.28: CVE-2020-7471: Potential SQL injection via \`\`StringAgg(delimiter)\`\`](http://www.openwall.com/lists/oss-security/2020/02/03/1) (openwall.com) mailing-list - [github.com/django/django/commit/eb31d845323618d688ad429479c…](https://github.com/django/django/commit/eb31d845323618d688ad429479c6dda973056136) - [USN-4264-1](https://usn.ubuntu.com/4264-1/) (usn.ubuntu.com) vendor-advisory - [20200219 \[SECURITY\] \[DSA 4629-1\] python-django security update](https://seclists.org/bugtraq/2020/Feb/30) (seclists.org) mailing-list - [DSA-4629](https://www.debian.org/security/2020/dsa-4629) (debian.org) vendor-advisory - [security.netapp.com/advisory/ntap-20200221-0006](https://security.netapp.com/advisory/ntap-20200221-0006/) - [GLSA-202004-17](https://security.gentoo.org/glsa/202004-17) (security.gentoo.org) vendor-advisory - [FEDORA-2020-c2639662af](https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4A2AP4T7RKPBCLTI2NNQG3T6MINDUUMZ/) (lists.fedoraproject.org) vendor-advisory ## Timeline 1. ID reserved Jan 21, 2020 2. Record published Feb 3, 2020 3. Record last updated Aug 4, 2024 ## Look up another CVE ## About CubePath CubePath is a cloud provider with data centers in Europe and the United States. It offers VPS, bare metal servers and DDoS protection. [Cloud VPS](https://cubepath.com/vps) [DDoS protection](https://cubepath.com/ddos-protection) Data from the CVE Program (MITRE), CISA KEV and FIRST EPSS. CVSS is owned by FIRST and used by permission. Not affiliated with or endorsed by MITRE, CISA or FIRST. Data as of Nov 10, 2026, 20:03 UTC. [Sources and licenses](https://cubepath.com/security/cve/legal)