CVE-2025-60797
MediumCVSS 6.5Exploitation Probability (EPSS)
Low risk21th percentile - higher than 21% of all known CVEs
Summary
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, allowing an authenticated attacker to execute arbitrary SQL commands.
Risk Assessment
This could lead to complete database compromise, data theft, or privilege escalation. The organization may face serious consequences related to data confidentiality and integrity breaches.
Recommendation
Update phpPgAdmin to a version that fixes this vulnerability. Implement least privilege for database accounts and use parameterized queries.
Other vulnerabilities in phpPgAdmin
See all- CVE-2025-60799Medium
phpPgAdmin 7.13.0 and earlier contains an incorrect access control vulnerability in sql.php at lines 68-76. The application allows unauthorized manipulation of session variables by accepting user-controlled parameters (subject, server, database, queryid) without proper validation, potentially leading to session poisoning, stored XSS, or unauthorized access to session data.
- CVE-2025-60798Medium
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, allowing an authenticated attacker to execute arbitrary SQL commands.
- CVE-2025-60796Medium
phpPgAdmin 7.13.0 and earlier contains multiple cross-site scripting (XSS) vulnerabilities across various components. User-supplied input from $_REQUEST parameters is reflected in HTML output without proper encoding or sanitization in multiple locations including sequences.php, indexes.php, admin.php, and other unspecified files. An attacker can exploit these vulnerabilities to execute arbitrary JavaScript in victims' browsers, potentially leading to session hijacking, credential theft, or other malicious actions.
Original NVD description (English source)
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.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

