Feed
9.8CRITICAL

CVE-2021-35042SQL Injection in Django

A critical-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 44.4% chance of exploitation in the next 30 days. A fixed version is named.

Exploited in the wild
Not in KEV
EPSS
44.4%
percentile 99%
Priority
69/100 high
how it is computed
Fix
Named by a source
CVE published 2 Jul 2021

Reference

None of the "Needs attention" rules apply right now.

EPSS 44.4% (+44) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)

Immediate actions

Who should check

  • django (PyPI) pkg:pypi/django

    • Affected>= 3.2a1, < 3.2.5Fixed in3.2.5OSV (GHSA-xpfp-f569-q3p2)
    • Affected>= 3.0a1, < 3.1.13Fixed in3.1.13OSV (GHSA-xpfp-f569-q3p2)
    • Affected>= 3.1, < 3.1.13Fixed in3.1.13OSV (PYSEC-2021-109)
    • Affected>= 3.2, < 3.2.5Fixed in3.2.5OSV (PYSEC-2021-109)

Confirmed facts

CVSS
9.8 CRITICAL (version 3.1)
Score from
GitHub Advisory Database (GHSA-xpfp-f569-q3p2)
Attack vector
network
Attack complexity
low
Privileges required
none
User interaction
none
Weakness
CWE-89

Unknowns

  • We show one CVSS score. Other sources may score this CVE differently.

Advisory text

Quoted from the source advisory (untrusted)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.

Update history

  • 19 Jan 2026Exploitation more likely 35.2% → 86.2%
  • 18 Jan 2026Exploitation more likely 35.2% → 86.2%
  • 22 Dec 2025Exploitation more likely 15.0% → 38.4%
  • 18 Dec 2025Exploitation more likely 15.0% → 38.4%
  • 1 Dec 2025Exploitation more likely 7.0% → 13.2%
  • 30 Nov 2025Exploitation more likely 7.0% → 15.0%
  • 18 Nov 2025Exploitation more likely 7.0% → 23.6%

References

Sources

This page is our own presentation: records are shortened, normalised and merged. Licences

Last checked: kev 34 min ago · osv 34 min ago · nvd 3 min ago · epss 34 min ago · JSON · ask via MCP: explain_vulnerability

Also known as BIT-django-2021-35042, GHSA-xpfp-f569-q3p2, PYSEC-2021-109