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.
References
| Link | Resource |
|---|---|
| https://github.com/phppgadmin/phppgadmin/blob/master/display.php#L396 | Product |
| https://github.com/pr0wl1ng/security-advisories/blob/main/CVE-2025-60797.md | Not Applicable |
| https://github.com/pr0wl1ng/security-advisories/blob/main/CVE-2025-60798.md | Third Party Advisory |
Configurations
History
No history.
Information
Published : 2025-11-20 15:17
Updated : 2025-11-25 19:11
NVD link : CVE-2025-60798
Mitre link : CVE-2025-60798
CVE.ORG link : CVE-2025-60798
JSON object : View
Products Affected
phppgadmin_project
- phppgadmin
CWE
CWE-89
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
