CVE-2025-60798 phppgadmin contains a SQL injection vulnerability
An authenticated attacker can execute arbitrary SQL commands via the query parameter in display.php, potentially compromising the database.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-60798?
CVE-2025-60798 is a medium-severity SQL injection vulnerability in n/a, published on 20 Nov 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-89
Which versions are affected by CVE-2025-60798?
2 open source packages ship an affected version, including phppgadmin/phppgadmin. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
phppgadmin/phppgadmin Packagist | All versions to 7.13.0 | None |
phppgadmin/phppgadmin Packagist | All versions to 7.13.0 | None |
Products include Phppgadmin Project Phppgadmin.
How do I fix CVE-2025-60798?
No fix has been published for CVE-2025-60798 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2025-60798 being exploited?
There is no known exploitation of CVE-2025-60798 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2025-60798, GHSA-g6xh-wrpf-v6j6, UBUNTU-CVE-2025-60798.