cve.bz

CVE-2020-7471

9.8 criticalEPSS 66%

Critical (9.8) in djangoproject django. EPSS 66% chance of exploitation in the next 30 days. Fixed in django 1.11.28, 2.2.10, 3.0.3.

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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
66% chance of exploitation in the next 30 days; higher than 99% of CVEs (scores of 2026-10-31)
CWE
CWE-89
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-hmr4-m2h5-33qxPyPIdjango<1.11.281.11.28
GHSA-hmr4-m2h5-33qxPyPIdjango>=2.0 <2.2.102.2.10
GHSA-hmr4-m2h5-33qxPyPIdjango>=3.0 <3.0.33.0.3
PYSEC-2020-35PyPIdjango>=1.11 <1.11.28
>=2.2 <2.2.10
>=3.0 <3.0.3
1.11.28, 2.2.10, 3.0.3

References

Check your stackJSON