CVE-2021-30459
CRITICAL 9.8CVSS 3.1SQL Injection via in django-debug-toolbar
A SQL Injection issue in the SQL Panel in Jazzband Django Debug Toolbar before 1.11.1, 2.x before 2.2.1, and 3.x before 3.2.1 allows attackers to execute SQL statements by changing the raw_sql input field of the SQL explain, analyze, or select form.
- Published
- 14 Apr 2021
- Last modified
- 8 Jul 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-89
- Also known as
- GHSA-pghf-347x-c2gjPYSEC-2021-10
- Sources
- NVDJSONOSV GHSA-pghf-347x-c2gjJSONOSV PYSEC-2021-10JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | jazzband | django_debug_toolbarcpe:2.3:a:jazzband:django_debug_toolbar:*:*:*:*:*:*:*:* |
>= 0.10.0, < 1.11.1 | 1.11.1 |
| NVD | jazzband | django_debug_toolbarcpe:2.3:a:jazzband:django_debug_toolbar:*:*:*:*:*:*:*:* |
>= 2.0.0, < 2.2.1 | 2.2.1 |
| NVD | jazzband | django_debug_toolbarcpe:2.3:a:jazzband:django_debug_toolbar:*:*:*:*:*:*:*:* |
>= 3.0.0, < 3.2.1 | 3.2.1 |
| OSV | PyPI | django-debug-toolbar | >= 0.10.0, < 1.11.1 | 1.11.1 |
| OSV | PyPI | django-debug-toolbar | >= 2.0a1, < 2.2.1 | 2.2.1 |
| OSV | PyPI | django-debug-toolbar | >= 3.0a1, < 3.2.1 | 3.2.1 |
| OSV | PyPI | django-debug-toolbar | >= 0.10.0, < 1.11.1; >= 2.0, < 2.2.1; >= 3.0, < 3.2.1 | 1.11.1, 2.2.1, 3.2.1 |
References
- https://github.com/jazzband/django-debug-toolbar/releases · Third Party Advisory, WEB
- https://github.com/jazzband/django-debug-toolbar/security/advisories/GHSA-pghf-347x-c2gj · Patch, Third Party Advisory, WEB, ADVISORY
- https://www.djangoproject.com/weblog/2021/apr/14/debug-toolbar-security-releases/ · Vendor Advisory, WEB, ARTICLE
- https://nvd.nist.gov/vuln/detail/CVE-2021-30459 · ADVISORY
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30459 · WEB
- https://github.com/jazzband/django-debug-toolbar · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/django-debug-toolbar/PYSEC-2021-10.yaml · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 14 Apr 2021)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 14 Apr 2021)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 16 Apr 2021)