CVE-2021-30459Critical· 9.8▾ MidnightSQL Injection via in django-debug-toolbar
▾ Midnight zone — Critical, or high with PoC / in-the-wild
impact 53.9 · likelihood 0.4 · exploitation 0
Need a working PoC? Pro members can cast a request and our team develops one — it lands right here.
Exploit-prediction probability, daily snapshots since Jul 8.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via OSV
Last analysed / modified upstream
1.9%
1.9% → 1.9%
With Django Debug Toolbar attackers are able to execute SQL by changing the raw_sql input of the SQL explain, analyze or select forms and submitting the form.
NOTE: This is a high severity issue for anyone using the toolbar in a production environment.
Generally the Django Debug Toolbar team only maintains the latest version of django-debug-toolbar, but an exception was made because of the high severity of this issue.
Please upgrade to one of the following versions, depending on the major version you're using:
If you have any questions or comments about this advisory:
django-debug-toolbar >= 0.10.0, < 1.11.1django-debug-toolbar >= 2.0a1, < 2.2.1django-debug-toolbar >= 3.0a1, < 3.2.1Upgrade to a patched release:
django-debug-toolbar 1.11.1django-debug-toolbar 2.2.1django-debug-toolbar 3.2.1