What’s Vulnerable › Vulnerabilities

CVE-2021-35042: SQL Injection in Django

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.

Affected products

How to fix

Upgrade to a fixed version: Django 3.1.13, 3.2.5; Pypi Django 3.1.13, 3.2.5. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-35042 or the next vulnerability affects your stack