CVE-2025-60798
Phppgadmin Project Phppgadmin vulnerability
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 products
Phppgadmin. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Phppgadmin Project Phppgadmin runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- nvd.nist.gov/vuln/detail/CVE-2025-60798
- github.com/phppgadmin/phppgadmin/blob/master/display.php#L396
- github.com/pr0wl1ng/security-advisories/blob/main/CVE-2025-60797.md
- github.com/pr0wl1ng/security-advisories/blob/main/CVE-2025-60798.md
- github.com/advisories/GHSA-g6xh-wrpf-v6j6
- nvd.nist.gov/vuln/detail/CVE-2025-60798
- cve.org/CVERecord?id=CVE-2025-60798
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.