← All CVEs NewScan detects
high

CVE-2021-35042

Django SQL injection through QuerySet.order_by() with an unvalidated column name

Severity
high
Affected product
Django
Affected versions
Django ≥ 3.1, < 3.1.13
Affected versions
Django ≥ 3.2, < 3.2.5
Fixed in
Django 3.1.13
Fixed in
Django 3.2.5
Detection basis
Component version range
Shipped rule
Django: Django SQL injection through QuerySet.order_by() with an unvalidated column name
Added to NewScan
2026-08-02
Detected by
NewScan — free, self-hosted

How NewScan reports it

COMPONENT VERSION RANGE

NewScan fingerprints Django from its response and reports this CVE when the detected version falls inside the affected range below.

COMPONENT VERSION RANGE

NewScan fingerprints Django from its response and reports this CVE when the detected version falls inside the affected range below.

References

Scan for this yourself — local, in-band scanning is free.

Get NewScan (FREE) →

Review the measured benchmark, then use the verified remediation process.