ADVISORIES

GitHub Advisory Database

GHSA-g6xh-wrpf-v6j6

phppgadmin contains a SQL injection vulnerability

Moderate No fix available CVE-2025-60798

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.

Affected packages

EcosystemPackageAffected versions
Packagistphppgadmin/phppgadmin
All versions up to and including 7.13.0

References