{"id":"GHSA-g6xh-wrpf-v6j6","summary":"phppgadmin contains a SQL injection vulnerability","details":"phpPgAdmin 7.13.0 and earlier contains a SQL injection vulnerability in display.php at line 396. The application passes user-controlled input from $_REQUEST['query'] directly to the browseQuery function without proper sanitization. An authenticated attacker can exploit this vulnerability to execute arbitrary SQL commands through malicious query manipulation, potentially leading to complete database compromise.","aliases":["CVE-2025-60798"],"modified":"2025-11-21T19:15:52Z","published":"2025-11-20T15:30:24Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2025-11-21T18:07:13Z","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-60798"},{"type":"PACKAGE","url":"https://github.com/phppgadmin/phppgadmin"},{"type":"WEB","url":"https://github.com/phppgadmin/phppgadmin/blob/master/display.php#L396"},{"type":"WEB","url":"https://github.com/pr0wl1ng/security-advisories/blob/main/CVE-2025-60797.md"},{"type":"WEB","url":"https://github.com/pr0wl1ng/security-advisories/blob/main/CVE-2025-60798.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-g6xh-wrpf-v6j6/GHSA-g6xh-wrpf-v6j6.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}]}