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
| Link | Resource |
|---|---|
| https://github.com/phppgadmin/phppgadmin/blob/master/dataexport.php#L118 | Product |
| https://github.com/pr0wl1ng/security-advisories/blob/main/CVE-2025-60797.md | Third Party Advisory |
Configurations
History
25 Nov 2025, 19:13
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
Phppgadmin Project phppgadmin
Phppgadmin Project |
|
| References | () https://github.com/phppgadmin/phppgadmin/blob/master/dataexport.php#L118 - Product | |
| References | () https://github.com/pr0wl1ng/security-advisories/blob/main/CVE-2025-60797.md - Third Party Advisory | |
| CPE | cpe:2.3:a:phppgadmin_project:phppgadmin:*:*:*:*:*:*:*:* |
20 Nov 2025, 22:16
| Type | Values Removed | Values Added |
|---|---|---|
| CWE | CWE-89 | |
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 6.5 |
20 Nov 2025, 15:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2025-11-20 15:17
Updated : 2025-11-25 19:13
NVD link : CVE-2025-60797
Mitre link : CVE-2025-60797
CVE.ORG link : CVE-2025-60797
JSON object : View
Products Affected
phppgadmin_project
- phppgadmin
CWE
CWE-89
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
