{
  "schema_version": "1.4.0",
  "id": "GHSA-3hj6-r5c9-q8f3",
  "modified": "2025-03-25T16:36:02Z",
  "published": "2025-03-25T16:36:02Z",
  "aliases": [
    "CVE-2025-30212"
  ],
  "summary": "Frappe has possibility of SQL injection due to improper validations",
  "details": "### Impact\nAn SQL Injection vulnerability has been identified in Frappe Framework which could allow a malicious actor to access sensitive information.\n\n### Workarounds\nUpgrading is required, no other workaround is present.\n\n### Credits\n\nThanks to Thanh of Calif.io for reporting the issue",
  "severity": [
    {
      "type": "CVSS_V4",
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "frappe"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "14.89.0"
            }
          ]
        }
      ]
    },
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "frappe"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "15.0.0"
            },
            {
              "fixed": "15.51.0"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/frappe/frappe/security/advisories/GHSA-3hj6-r5c9-q8f3"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-30212"
    },
    {
      "type": "WEB",
      "url": "https://github.com/frappe/frappe/commit/27f13437db161a173137d91cd07d0f9287d7c556"
    },
    {
      "type": "WEB",
      "url": "https://github.com/frappe/frappe/commit/2ebd88520ecfa9bb7d3392b7de8c8f94a86ec05c"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/frappe/frappe"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-89"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2025-03-25T16:36:02Z",
    "nvd_published_at": "2025-03-25T15:15:26Z"
  }
}