Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-30459

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-30459
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:18 UTC · Revision 1

Source evidence

CVE-2021-30459

core-osv · Original source

Published 14 Apr 2021, 18:15 UTC

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.

osv:CVE-2021-30459
Complete source record
{
  "id": "7eae50e5c3356c0c974eb75f5e91540fa05dad3690a6987e3ee8584350a2d172",
  "url": "https://osv.dev/vulnerability/CVE-2021-30459",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-30459",
    "summary": "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.",
    "evidence": "osv:CVE-2021-30459",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2021-30459",
      "aliases": [
        "CVE-2021-30459",
        "GHSA-pghf-347x-c2gj",
        "PYSEC-2021-10"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/django-commons/django-debug-toolbar",
              "type": "GIT",
              "events": [
                {
                  "introduced": "dab9a28e6d80aa65f595c0bb48846aa6018f0473"
                },
                {
                  "fixed": "bc08f692742981b4155818639d6f40df76d1cee5"
                },
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5e6750bf89e834fa961b4abdbfe361f7ea1b04ab"
                },
                {
                  "fixed": "f14fca80fb203f140edb89d5a33ff027aa38ea34"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:jazzband:django_debug_toolbar:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0.10.0"
                      },
                      {
                        "fixed": "1.11.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:jazzband:django_debug_toolbar:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.0.0"
                      },
                      {
                        "fixed": "2.2.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:jazzband:django_debug_toolbar:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.0.0"
                      },
                      {
                        "fixed": "3.2.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.11",
            "2.2",
            "3.1.1",
            "3.1",
            "3.0",
            "3.0a4",
            "3.0a3",
            "3.0a2",
            "3.0a1",
            "2.1",
            "2.0",
            "2.0a1",
            "1.10.1",
            "1.10",
            "1.9.1",
            "1.9",
            "1.8",
            "1.7",
            "1.6",
            "1.5",
            "1.4",
            "1.3.2",
            "1.3",
            "1.2.2",
            "1.2.1",
            "1.2",
            "1.1",
            "1.0.1",
            "1.0",
            "0.10.2",
            "0.10.1",
            "0.10.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-30459.json"
          }
        }
      ],
      "modified": "2026-10-20T10:53:47.143030481Z",
      "provider": "osv",
      "references": [
        "https://github.com/jazzband/django-debug-toolbar/releases",
        "https://www.djangoproject.com/weblog/2021/apr/14/debug-toolbar-security-releases/",
        "https://github.com/jazzband/django-debug-toolbar/security/advisories/GHSA-pghf-347x-c2gj"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-30459",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 384623,
  "published_at": "2021-04-14T18:15:14.877+00:00"
}