{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "15.0.0"
              },
              {
                "fixed": "15.84.0"
              }
            ]
          },
          "events": [
            {
              "introduced": "b8c1f492c492f7cbbfd3cc768234fbb244fd3737"
            },
            {
              "fixed": "25b8d51f494e360f5ca88ed3fb3b09779a3ab8da"
            }
          ],
          "repo": "https://github.com/frappe/frappe",
          "type": "GIT"
        },
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "14.99.0"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "075c940023000b70a3495fa210283bd0c863de52"
            }
          ],
          "repo": "https://github.com/frappe/frappe",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-2c4m-999q-xhx4"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-89"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31877.json"
  },
  "details": "Frappe is a full-stack web application framework. Prior to 15.84.0 and 14.99.0, a specially crafted request made to a certain endpoint could result in SQL injection, allowing an attacker to extract information they wouldn't otherwise be able to. This vulnerability is fixed in 15.84.0 and 14.99.0.",
  "id": "CVE-2026-31877",
  "modified": "2026-03-15T13:48:44.918674385Z",
  "published": "2026-03-11T18:28:35.596Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31877.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/frappe/frappe/security/advisories/GHSA-2c4m-999q-xhx4"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-31877"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Frappe SQL Injection due to improper field sanitization"
}