Vulnerability Description
phpPgAdmin 7.13.0 and earlier contains a SQL injection vulnerability in dataexport.php at line 118. The application directly executes user-supplied SQL queries from the $_REQUEST['query'] parameter without any sanitization or parameterization via $data->conn->Execute($_REQUEST['query']). An authenticated attacker can exploit this vulnerability to execute arbitrary SQL commands, potentially leading to complete database compromise, data theft, or privilege escalation.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Phppgadmin Project | Phppgadmin | <= 7.13.0 |
Related Weaknesses (CWE)
References
- https://github.com/phppgadmin/phppgadmin/blob/master/dataexport.php#L118Product
- https://github.com/pr0wl1ng/security-advisories/blob/main/CVE-2025-60797.mdThird Party Advisory
FAQ
What is CVE-2025-60797?
CVE-2025-60797 is a vulnerability with a CVSS score of 6.5 (MEDIUM). phpPgAdmin 7.13.0 and earlier contains a SQL injection vulnerability in dataexport.php at line 118. The application directly executes user-supplied SQL queries from the $_REQUEST['query'] parameter wi...
How severe is CVE-2025-60797?
CVE-2025-60797 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-60797?
Check the references section above for vendor advisories and patch information. Affected products include: Phppgadmin Project Phppgadmin.