{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0.10.0"
              },
              {
                "fixed": "1.11.1"
              },
              {
                "introduced": "2.0.0"
              },
              {
                "fixed": "2.2.1"
              },
              {
                "introduced": "3.0.0"
              },
              {
                "fixed": "3.2.1"
              }
            ]
          },
          "events": [
            {
              "introduced": "dab9a28e6d80aa65f595c0bb48846aa6018f0473"
            },
            {
              "fixed": "bc08f692742981b4155818639d6f40df76d1cee5"
            },
            {
              "introduced": "0"
            },
            {
              "fixed": "5e6750bf89e834fa961b4abdbfe361f7ea1b04ab"
            },
            {
              "introduced": "0"
            },
            {
              "fixed": "f14fca80fb203f140edb89d5a33ff027aa38ea34"
            }
          ],
          "repo": "https://github.com/jazzband/django-debug-toolbar",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "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.",
  "id": "CVE-2021-30459",
  "modified": "2026-04-01T23:10:23.839975883Z",
  "published": "2021-04-14T18:15:14.877Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.djangoproject.com/weblog/2021/apr/14/debug-toolbar-security-releases/"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/jazzband/django-debug-toolbar/releases"
    },
    {
      "type": "FIX",
      "url": "https://github.com/jazzband/django-debug-toolbar/security/advisories/GHSA-pghf-347x-c2gj"
    }
  ],
  "related": [
    "GHSA-pghf-347x-c2gj"
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}