{"schema_version":"1.9.0","id":"GHSA-927w-vq5c-8gc3","published":"2025-11-20T15:30:23Z","modified":"2025-11-21T18:44:00.137020Z","aliases":["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.","affected":[{"package":{"name":"phppgadmin/phppgadmin","ecosystem":"Packagist","purl":"pkg:composer/phppgadmin/phppgadmin"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"7.13.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/11/GHSA-927w-vq5c-8gc3/GHSA-927w-vq5c-8gc3.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-60797"},{"type":"PACKAGE","url":"https://github.com/phppgadmin/phppgadmin"},{"type":"WEB","url":"https://github.com/phppgadmin/phppgadmin/blob/master/dataexport.php#L118"},{"type":"WEB","url":"https://github.com/pr0wl1ng/security-advisories/blob/main/CVE-2025-60797.md"}],"database_specific":{"cwe_ids":["CWE-89"],"github_reviewed":true,"github_reviewed_at":"2025-11-21T18:06:38Z","nvd_published_at":"2025-11-20T15:17:38Z","severity":"MODERATE"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"}]}