CVE-2025-60797: phppgadmin contains a SQL injection vulnerability
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']).
Published Nov 20, 2025 · Updated Nov 21, 2025
Affected packages
phppgadmin/phppgadmin
- Ecosystem
- Composer (PHP)
- Affected
- <= 7.13.0
- Fixed in
- No patched version yet
- Check
composer show phppgadmin/phppgadmin
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesCVE-2021-47853
phpPgAdmin contains a remote command execution vulnerability
high8.8No fixJan 21, 2026CVE-2025-60796
phppgadmin vulnerable to Cross-site Scripting
low2.1No fixNov 20, 2025CVE-2025-60798
phppgadmin contains a SQL injection vulnerability
medium6.5No fixNov 20, 2025CVE-2025-60799
phppgadmin contains an incorrect access control vulnerability
medium6.1No fixNov 20, 2025
