{"id":"CVE-2025-60797","aliases":["GHSA-927w-vq5c-8gc3"],"url":"https://o3.security/vulnerability/CVE-2025-60797","summary":"phppgadmin contains a SQL injection vulnerability","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->conn->Execute($_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.","published":"2025-11-20T00:00:00Z","modified":"2026-07-15T01:48:54.445113960Z","cvss":{"score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"phppgadmin/phppgadmin","fixedVersion":null}],"fix":null,"references":[{"type":"WEB","url":"https://github.com/phppgadmin/phppgadmin/blob/master/dataexport.php#L118"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/60xxx/CVE-2025-60797.json"},{"type":"ADVISORY","url":"https://github.com/pr0wl1ng/security-advisories/blob/main/CVE-2025-60797.md"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-60797"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T01:48:54.445113960Z"}}