{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-30459","id":"CVE-2021-30459","title":"SQL Injection via in django-debug-toolbar","description":"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.","descriptionLong":"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":"2021-04-14T17:27:00.000Z","updated":"2026-10-20T10:53:47.143030481Z","reserved":"2021-04-08T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"4.0","score":null,"vector":"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","rating":"critical","source":"GitHub"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","rating":"high","source":"NVD"}],"rating":"critical","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"django-debug-toolbar","purl":"pkg:pypi/django-debug-toolbar","ranges":[">=0.10.0 <1.11.1",">=2.0a1 <2.2.1",">=3.0a1 <3.2.1",">=2.0 <2.2.1",">=3.0 <3.2.1"],"fixed":["1.11.1","2.2.1","3.2.1"],"advisory":"GHSA-pghf-347x-c2gj"}],"cwes":["CWE-89"],"aliases":["GHSA-pghf-347x-c2gj","PYSEC-2021-10"],"references":[{"url":"https://github.com/jazzband/django-debug-toolbar/releases","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/jazzband/django-debug-toolbar/security/advisories/GHSA-pghf-347x-c2gj","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","fix","web","advisory"]},{"url":"https://www.djangoproject.com/weblog/2021/apr/14/debug-toolbar-security-releases/","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","article"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-30459","tags":["advisory"]},{"url":"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30459","tags":["web"]},{"url":"https://github.com/jazzband/django-debug-toolbar","tags":["package"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/django-debug-toolbar/PYSEC-2021-10.yaml","tags":["web"]},{"url":"https://www.djangoproject.com/weblog/2021/apr/14/debug-toolbar-security-releases","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01941,"epssPercentile":0.80604,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-30459","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-30459","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-30459","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-pghf-347x-c2gj","ok":true,"note":"GHSA-pghf-347x-c2gj"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-30459","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["django"],"critical":["CVSS 9.8 in a widely used technology"],"attention":null}