cve.bz

CVE-2021-35042

9.8 criticalEPSS 44%

Critical (9.8). EPSS 44% chance of exploitation in the next 30 days. Fixed in django 3.1.13, 3.2.5.

Django 3.1.x before 3.1.13 and 3.2.x before 3.2.5 allows QuerySet.order_by SQL injection if order_by is untrusted input from a client of a web application.

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
44% chance of exploitation in the next 30 days; higher than 98% of CVEs (scores of 2026-10-31)
CWE
CWE-89
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-xpfp-f569-q3p2PyPIdjango>=3.2a1 <3.2.53.2.5
GHSA-xpfp-f569-q3p2PyPIdjango>=3.0a1 <3.1.133.1.13
PYSEC-2021-109PyPIdjango>=3.1 <3.1.13
>=3.2 <3.2.5
3.1.13, 3.2.5

References

Check your stackJSON