CVE-2025-60798: phpPgAdmin 7.13.0 and earlier contains a SQL injection
Affects phppgadminSource CVE Database V5
Not known to be exploited · CVSS 6.5 Medium.
Data as of 26 Oct 2026, 14:05 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 23% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 20 Nov 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubphppgadmin/phppgadminpkg:github/phppgadmin/phppgadminOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
- Restrict access to phpPgAdmin interfaces using network-level controls such as VPNs, IP whitelisting, or firewall rules to limit exposure to trusted users only.
- Enforce strong authentication mechanisms and monitor access logs for suspicious activity to reduce the risk of credential compromise.
- Apply patches or updates from the phpPgAdmin project as soon as they become available to address the vulnerability directly.
- Implement input validation and sanitization on all user-supplied data, particularly the 'query' parameter, using prepared statements or parameterized queries to prevent SQL injection.
- Limit database user privileges associated with phpPgAdmin to the minimum necessary, avoiding use of superuser or highly privileged accounts.
- Conduct regular security assessments and code reviews focusing on injection flaws and other input validation issues.
- Educate administrators and developers about secure coding practices and the risks of SQL injection.
- Consider alternative database management tools with stronger security postures if timely patching is not feasible.
Description
phpPgAdmin 7.13.0 and earlier contains a SQL injection vulnerability in display.php at line 396. The application passes user-controlled input from $_REQUEST['query'] directly to the browseQuery function without proper sanitization. An authenticated attacker can exploit this vulnerability to execute arbitrary SQL commands through malicious query manipulation, potentially leading to complete database compromise.