{"id":"CVE-2025-60798","aliases":["DEBIAN-CVE-2025-60798","EUVD-2025-198265","GHSA-g6xh-wrpf-v6j6","UBUNTU-CVE-2025-60798"],"status":"published","title":"phppgadmin contains a SQL injection vulnerability","description":"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.","severity":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-10","score":0.00307,"percentile":0.2371,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-89"],"published":"2025-11-20T00:00:00Z","modified":"2026-11-06T10:04:09Z","affected":[{"source":"ghsa","ecosystem":"Packagist","package":"phppgadmin/phppgadmin","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"7.13.0"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"phppgadmin","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.14.7+dfsg-1","7.14.8+dfsg-1"]},{"source":"osv","ecosystem":"Debian:14","package":"phppgadmin","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.14.7+dfsg-1","7.14.8+dfsg-1"]},{"source":"osv","ecosystem":"Packagist","package":"phppgadmin/phppgadmin","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"7.13.0"}]}]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"phppgadmin","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.1+ds-1","5.1+ds-1ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"phppgadmin","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.1+ds-2","5.1+ds-3"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"phppgadmin","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.1+ds-4","7.12.0+ds-2","7.12.0+ds-3","7.12.1+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"phppgadmin","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.13.0+dfsg-2"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"phppgadmin","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.13.0+dfsg-2","7.13.0+dfsg-3","7.14.7+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"phppgadmin","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.14.7+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"phppgadmin","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.14.7+dfsg-1build1","7.14.8+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"phppgadmin","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.14.7+dfsg-1","7.14.7+dfsg-1build1"]}],"products":[{"vendor":"phppgadmin_project","product":"phppgadmin"}],"references":[{"url":"https://github.com/phppgadmin/phppgadmin/blob/master/display.php#L396","tags":["Product","web","report"]},{"url":"https://github.com/pr0wl1ng/security-advisories/blob/main/CVE-2025-60797.md","tags":["Not Applicable","advisory","web","report"]},{"url":"https://github.com/pr0wl1ng/security-advisories/blob/main/CVE-2025-60798.md","tags":["Third Party Advisory","advisory","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-60798","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-g6xh-wrpf-v6j6"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/60xxx/CVE-2025-60798.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-60798","tags":["advisory"]},{"url":"https://github.com/phppgadmin/phppgadmin","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2025-60798","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-60798","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2025-60798","description":"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.","status":"published","published":"2025-11-20T00:00:00Z","modified":"2025-11-21T15:38:02.007Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"adp"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:32:40.072186Z"}],"euvd":[{"id":"EUVD-2025-198265","description":"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.","status":"published","published":"2025-11-20T00:00:00Z","modified":"2025-11-21T15:38:02Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T19:49:13.665045Z"}],"ghsa":[{"id":"GHSA-g6xh-wrpf-v6j6","title":"phppgadmin contains a SQL injection vulnerability","description":"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.","status":"published","published":"2025-11-20T15:30:24Z","modified":"2025-11-21T19:15:52Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:39:10.178331Z"}],"nvd":[{"id":"CVE-2025-60798","description":"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.","status":"published","published":"2025-11-20T15:17:38.393Z","modified":"2026-11-05T13:10:00.18Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-89"],"updated_at":"2026-11-05T19:55:51.56159Z"}],"osv":[{"id":"CVE-2025-60798","description":"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.","status":"published","published":"2025-11-20T00:00:00Z","modified":"2026-11-07T02:30:53.804076399Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-07T03:07:57.874008Z"},{"id":"DEBIAN-CVE-2025-60798","description":"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.","status":"published","published":"2025-11-20T15:17:38.393Z","modified":"2026-11-06T10:04:09.953650387Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-06T10:38:22.758306Z"},{"id":"GHSA-g6xh-wrpf-v6j6","title":"phppgadmin contains a SQL injection vulnerability","description":"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.","status":"published","published":"2025-11-20T15:30:24Z","modified":"2025-11-21T19:15:52Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T15:46:47.472172Z"},{"id":"UBUNTU-CVE-2025-60798","description":"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.","status":"published","published":"2025-11-20T15:17:00Z","modified":"2026-10-17T12:57:09.582334111Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T16:55:50.817402Z"}]}}
