cve.bz

CVE-2021-30459 jazzband django debug toolbar: SQL Injection

9.8 criticalEPSS 1.9%Fix available

Critical (9.8) in jazzband django debug toolbar. EPSS 1.9% estimated probability of exploitation activity in the next 30 days. Fixed in django-debug-toolbar 1.11.1, 2.2.1, 3.2.1.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
1.9% (unchanged from 1.9% a week ago; 1.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 81st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-89 Improper Neutralization of Special Elements used in an SQL Command (SQL Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-30459 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-30459?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-30459?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-30459 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
jazzband:django_debug_toolbarfrom 0.10.0 before 1.11.1
jazzband:django_debug_toolbarfrom 2.0.0 before 2.2.1
jazzband:django_debug_toolbarfrom 3.0.0 before 3.2.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-pghf-347x-c2gjPyPIdjango-debug-toolbar>=0.10.0 <1.11.11.11.1
GHSA-pghf-347x-c2gjPyPIdjango-debug-toolbar>=2.0a1 <2.2.12.2.1
GHSA-pghf-347x-c2gjPyPIdjango-debug-toolbar>=3.0a1 <3.2.13.2.1
PYSEC-2021-10PyPIdjango-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

Linux distributions

DistributionReleasePackageFixed inAdvisory
openSUSETumbleweedpython-django-debug-toolbar4.3-1.2openSUSE-SU-2024:14137-1
openSUSETumbleweedpython-django-debug-toolbar7.0.0-1.1openSUSE-SU-2026:11271-1

From the distributions' data via OSV.dev: SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: openSUSE.

Attack patterns (CAPEC)

  • CAPEC-7 Blind SQL Injection Likelihood: High · Severity: High
  • CAPEC-66 SQL Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High
  • CAPEC-109 Object Relational Mapping Injection Likelihood: Low · Severity: High
  • CAPEC-110 SQL Injection through SOAP Parameter Tampering Likelihood: High · Severity: Very High
  • CAPEC-470 Expanding Control over the Operating System from the Database Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON