CVE-2025-60797
MEDIUM 6.5CVSS 3.1phppgadmin 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']). An authenticated attacker can exploit this vulnerability to execute arbitrary SQL commands, potentially leading to complete database compromise, data theft, or privilege escalation.
- Published
- 20 Nov 2025
- Last modified
- 5 Nov 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-89
- Also known as
- GHSA-927w-vq5c-8gc3
- Sources
- NVDJSONOSV GHSA-927w-vq5c-8gc3JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | phppgadmin_project | phppgadmincpe:2.3:a:phppgadmin_project:phppgadmin:*:*:*:*:*:*:*:* |
<= 7.13.0 | |
| OSV | Packagist | phppgadmin/phppgadmin | <= 7.13.0 |
References
- https://github.com/phppgadmin/phppgadmin/blob/master/dataexport.php#L118 · Product, WEB
- https://github.com/pr0wl1ng/security-advisories/blob/main/CVE-2025-60797.md · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-60797 · ADVISORY
- https://github.com/phppgadmin/phppgadmin · PACKAGE
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 20 Nov 2025)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 20 Nov 2025)