{"id":"GHSA-927w-vq5c-8gc3","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-\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.","aliases":["CVE-2025-60797"],"modified":"2025-11-21T18:44:00.137020Z","published":"2025-11-20T15:30:23Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2025-11-21T18:06:38Z","nvd_published_at":"2025-11-20T15:17:38Z","cwe_ids":["CWE-89"],"severity":"MODERATE"},"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"}],"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"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"}]}