{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "15.0.0"
              },
              {
                "fixed": "15.76.0"
              }
            ]
          },
          "events": [
            {
              "introduced": "0925cb28c7ab93b7900dd8f37527482d30b21785"
            },
            {
              "fixed": "36bc8fe3f0651a8cd83814739f576107b31678d7"
            }
          ],
          "repo": "https://github.com/frappe/erpnext",
          "type": "GIT"
        },
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "14.89.2"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "dac192a21065dfb1223fb5b81882613df06420e1"
            }
          ],
          "repo": "https://github.com/frappe/erpnext",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-fvjw-5w9q-6v39"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-89"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/58xxx/CVE-2025-58439.json"
  },
  "details": "ERP is a free and open source Enterprise Resource Planning tool. In versions below 14.89.2 and 15.0.0 through 15.75.1, lack of validation of parameters left certain endpoints vulnerable to error-based SQL Injection. Some information like version could be retrieved. This issue is fixed in versions 14.89.2 and 15.76.0.",
  "id": "CVE-2025-58439",
  "modified": "2026-04-01T23:07:59.529834520Z",
  "published": "2025-09-06T00:30:26.689Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/58xxx/CVE-2025-58439.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/frappe/erpnext/security/advisories/GHSA-fvjw-5w9q-6v39"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-58439"
    },
    {
      "type": "FIX",
      "url": "https://github.com/frappe/erpnext/pull/49219"
    },
    {
      "type": "FIX",
      "url": "https://github.com/frappe/erpnext/pull/49220"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "ERP: Possibility of SQL injection due to missing validation"
}