CVE-2025-60797: phpPgAdmin 7.13.0 and earlier contains a SQL injection vulnerability in dataexport.php at line 118
CVE-2025-60797 is a medium-severity flaw (CVSS 6.5) affecting phppgadmin. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 p
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.5 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.3% (top 79%) |
| CISA exploited list | No |
| Weakness | CWE-89 |
| Published | 2025-11-20 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2025-60797?
phppgadmin: upgrade to newer than 7.13.0. Exact commands for each OS are on this page.
Is CVE-2025-60797 being exploited?
CVE-2025-60797 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2025-60797 affect?
CVE-2025-60797 affects phppgadmin. Severity is medium (CVSS 6.5). 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 parameterizati
How urgent is CVE-2025-60797?
Priority 28/100. No elevated risk signals yet.
Software pages
Related CVEs
- CVE-2025-60799 MEDIUM 6.1 UPGRADE phpPgAdmin 7.13.0 and earlier contains an incorrect access control vulnerability in sql.php at lines 68-76
- CVE-2025-60798 MEDIUM 6.5 UPGRADE phpPgAdmin 7.13.0 and earlier contains a SQL injection vulnerability in display.php at line 396
- CVE-2025-60796 MEDIUM 6.1 UPGRADE phpPgAdmin 7.13.0 and earlier contains multiple cross-site scripting (XSS) vulnerabilities across various comp