Every CVE Search/ Get API key

CVE-2021-30459

SQL Injection via in django-debug-toolbar

9.8 CriticalFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

1.94%Up 1.1 points since Apr 15, 2021
90%50%10%1%

What each source reports

NVD Score used 9.8

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.

Record
CVE-2021-30459
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-89
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2021-30459
Updated
2026-11-02
EUVDEUVD-2021-0052 No score

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.

Record
EUVD-2021-0052
Updated
2026-11-03
GitHub AdvisoriesGHSA-pghf-347x-c2gj 7.2

SQL Injection via in django-debug-toolbar

Impact

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.

Patches

Please upgrade to one of the following versions, depending on the major version you're using:

For more information

If you have any questions or comments about this advisory:

Record
GHSA-pghf-347x-c2gj
CVSS 4.0
7.2 HighCVSS: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
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-89
Updated
2026-11-02
OSV 9.8

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.

Record
CVE-2021-30459
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVGHSA-pghf-347x-c2gj 7.2

SQL Injection via in django-debug-toolbar

Impact

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.

Patches

Please upgrade to one of the following versions, depending on the major version you're using:

For more information

If you have any questions or comments about this advisory:

Record
GHSA-pghf-347x-c2gj
CVSS 4.0
7.2 HighCVSS: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
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-89
Updated
2026-11-02
Show 4 moreShow less
OSVopenSUSE-SU-2024:11225-1 No score

python36-django-debug-toolbar-3.2.1-1.2 on GA media

These are all security issues fixed in the python36-django-debug-toolbar-3.2.1-1.2 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:11225-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:14137-1 No score

python310-django-debug-toolbar-4.3-1.2 on GA media

These are all security issues fixed in the python310-django-debug-toolbar-4.3-1.2 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:14137-1
Updated
2026-11-02
OSVopenSUSE-SU-2026:11271-1 No score

python313-django-debug-toolbar-7.0.0-1.1 on GA media

These are all security issues fixed in the python313-django-debug-toolbar-7.0.0-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2026:11271-1
Updated
2026-11-02
OSVPYSEC-2021-10 No score

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.

Record
PYSEC-2021-10
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
django-debug-toolbar
PyPI
0.10.0 up to 1.11.1
1.11.1
django-debug-toolbar
PyPI
2.0a1 up to 2.2.1
2.2.1
django-debug-toolbar
PyPI
3.0a1 up to 3.2.1
3.2.1
django-debug-toolbar
PyPI
0.10.0 up to 1.11.1, plus listed versions
0.10.10.10.20.110.11.01.0
Show 18 moreShow less
1.0.11.11.101.10.11.111.21.2.11.2.21.3.01.3.11.3.21.41.51.61.71.81.91.9.1
1.11.1
django-debug-toolbar
PyPI
2.0a1 up to 2.2.1, plus listed versions
2.02.12.2
2.2.1
django-debug-toolbar
PyPI
3.0a1 up to 3.2.1, plus listed versions
3.03.0a23.0a33.0a43.13.1.13.23.2a1
3.2.1
django-debug-toolbar
PyPI
0.10.0 up to 1.11.1, 2.0 up to 2.2.1, 3.0 up to 3.2.1, plus listed versions
0.10.10.10.20.110.11.01.0
Show 24 moreShow less
1.0.11.11.21.2.11.2.21.3.01.3.11.3.21.41.51.61.71.81.91.9.11.101.10.11.112.12.23.13.1.13.2a13.2
1.11.12.2.13.2.1
python-django-debug-toolbar
openSUSE:Tumbleweed
before 4.3-1.2
4.3-1.2
python-django-debug-toolbar
openSUSE:Tumbleweed
before 7.0.0-1.1
7.0.0-1.1

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-30459 is a critical vulnerability (CVSS 9.8) in Jazzband Django Debug Toolbar, published April 14, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.94%, the 80th percentile. Fixed in django-debug-toolbar 1.11.1.

References

MoveEnter Open