CVE-2021-35042

CRITICAL NUCLEI

Django <3.1.13, <3.2.5 - SQL Injection

Title source: llm

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.

Exploits (6)

nomisec WORKING POC 13 stars
by YouGina · poc
https://github.com/YouGina/CVE-2021-35042
nomisec WORKING POC 5 stars
by r4vi · poc
https://github.com/r4vi/CVE-2021-35042
nomisec WRITEUP 2 stars
by zer0qs · poc
https://github.com/zer0qs/CVE-2021-35042
nomisec WRITEUP
by LUUANHDUC · poc
https://github.com/LUUANHDUC/CVE-2021-35042
nomisec WORKING POC
by mrlihd · poc
https://github.com/mrlihd/CVE-2021-35042
inthewild WRITEUP
poc
https://github.com/zh0ngs0n1337/cve-2021-35042

Nuclei Templates (1)

Django QuerySet.order_by - SQL Injection
CRITICALVERIFIEDby 0x_Akoko
FOFA: body="ProgrammingError" && body="ORDER BY"

Scores

CVSS v3 9.8
EPSS 0.8997
EPSS Percentile 99.6%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-89
Status published
Products (3)
djangoproject/django 3.1 - 3.1.13
fedoraproject/fedora 34
pypi/Django 3.2a1 - 3.2.5PyPI
Published Jul 02, 2021
Tracked Since Feb 18, 2026