medium6.5
CVE-2025-60798
phppgadmin contains a SQL injection vulnerability
Impact
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
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| composer | phppgadmin/phppgadmin | <= 7.13.0 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Phppgadmin Project | Phppgadmin | through 7.13.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/phppgadmin/phppgadmin/blob/master/display.php#L396
- https://github.com/pr0wl1ng/security-advisories/blob/main/CVE-2025-60797.md
- https://github.com/pr0wl1ng/security-advisories/blob/main/CVE-2025-60798.md
- https://github.com/advisories/GHSA-g6xh-wrpf-v6j6
- https://nvd.nist.gov/vuln/detail/CVE-2025-60798