ADVISORIES

PyPA Advisory Database

PYSEC-2021-109

Details

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.

Affected packages

EcosystemPackageAffected versions
PyPIdjango
From 3.1 before 3.1.13 (fixed in 3.1.13)
From 3.2 before 3.2.5 (fixed in 3.2.5)

References