All reports
Critical

SQL Injection in Django

Affected versions

Version ranges need review.

Affected versions
>= 3.2a1, < 3.2.5
Fixed version
3.2.5
Affected versions
>=3.1 <3.1.13 || >=3.2 <3.2.5
Fixed version
3.1.13 · 3.2.5
Affected versions
>= 3.0a1, < 3.1.13
Fixed version
3.1.13

Exploitation

CVE-2021-35042

Probability of exploitation in the next 30 days: 44.37%

FIRST EPSS · 2026-11-22

Description

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.

Links

Credits

  • sunSUNQ