CVE-2025-60797 Details
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.
A SQL injection vulnerability has been identified in phpPgAdmin versions through 7.13.0. The issue resides in the dataexport.php file, specifically at line 118, where user-supplied SQL queries from the $_REQUEST['query'] parameter are executed directly without any form of sanitization or parameterization. This vulnerability allows authenticated attackers to execute arbitrary SQL commands, potentially leading to complete database compromise, data theft, or privilege escalation.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Nov 21, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/phppgadmin/phppgadmin/blob/master/dataexport.php#L118 | [email protected] | Product |
| https://github.com/pr0wl1ng/security-advisories/blob/main/CVE-2025-60797.md | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| phppgadmin project phppgadmin | <= 7.13.0 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 25, 2025 | Initial Analysis | [email protected] |
| Nov 21, 2025 | CVE Modified | CISA-ADP |
| Nov 20, 2025 | CVE Modified | CISA-ADP |
| Nov 20, 2025 | New CVE Received | [email protected] |