Skip to main content
VulnerabilityPublished Updated

CVE-2025-60798: phpPgAdmin 7.13.0 and earlier contains a SQL injection

Affects phppgadminSource CVE Database V5

0

Not known to be exploited · CVSS 6.5 Medium.

Data as of 26 Oct 2026, 09:15 UTC

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Nov 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
GitHubphppgadmin/phppgadminpkg:github/phppgadmin/phppgadminOther threatsAffected
  • <=7.13.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

1. Restrict access to phpPgAdmin interfaces using network-level controls such as VPNs, IP whitelisting, or firewall rules to limit exposure to trusted users only. 2. Enforce strong authentication mechanisms and monitor access logs for suspicious activity to reduce the risk of credential compromise. 3. Apply patches or updates from the phpPgAdmin project as soon as they become available to address the vulnerability directly. 4. Implement input validation and sanitization on all user-supplied data, particularly the 'query' parameter, using prepared statements or parameterized queries to prevent SQL injection. 5. Limit database user privileges associated with phpPgAdmin to the minimum necessary, avoiding use of superuser or highly privileged accounts. 6. Conduct regular security assessments and code reviews focusing on injection flaws and other input validation issues. 7. Educate administrators and developers about secure coding practices and the risks of SQL injection. 8. 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.

References

Community reviews

Loading reviews…