{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "7.13.0"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "13f3f821e6891ae2093e6b66ce190353624886ce"
            }
          ],
          "repo": "https://github.com/phppgadmin/phppgadmin",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "phpPgAdmin 7.13.0 and earlier contains a SQL injection vulnerability in dataexport.php at line 118. The application directly executes user-supplied SQL queries from the $_REQUEST['query'] parameter without any sanitization or parameterization via $data-\u003econn-\u003eExecute($_REQUEST['query']). An authenticated attacker can exploit this vulnerability to execute arbitrary SQL commands, potentially leading to complete database compromise, data theft, or privilege escalation.",
  "id": "CVE-2025-60797",
  "modified": "2026-03-10T21:53:29.723884321Z",
  "published": "2025-11-20T15:17:38.250Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/phppgadmin/phppgadmin/blob/master/dataexport.php#L118"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/pr0wl1ng/security-advisories/blob/main/CVE-2025-60797.md"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ]
}