IsItPatchedInstant security status for any software version
← All products

CVE-2021-35042

CRITICAL severity · CVSS 9.8 · SQL injection
9.8CVSS CRITICAL

Summary

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.

Impact & exploitability

Attack vectorNetwork
Attack complexityLow
Privileges requiredNone
User interactionNone
Confidentiality impactHigh
Integrity impactHigh
Availability impactHigh
Exploit probability (EPSS)91%

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products we track (1)

Recommendation

Apply the vendor fix promptly. Open any affected product above for its exact safe version.

Official patch: https://docs.djangoproject.com/en/3.2/releases/security/ ↗

Last checked: Wed, 10 Jun 2026 22:18:30 UTC