CVE-2025-60799: phppgadmin contains an incorrect access control vulnerability
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 or access control checks.
Published Nov 20, 2025 · Updated Nov 21, 2025
Affected packages
phppgadmin/phppgadmin
- Ecosystem
- Composer (PHP)
- Affected
- <= 7.13.0
- Fixed in
- No patched version yet
- Check
composer show phppgadmin/phppgadmin
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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 or access control checks. Attackers can exploit this to store arbitrary SQL queries in $_SESSION['sqlquery'] by manipulating these parameters, potentially leading to session poisoning, stored cross-site scripting, or unauthorized access to sensitive session data.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesCVE-2021-47853
phpPgAdmin contains a remote command execution vulnerability
high8.8No fixJan 21, 2026CVE-2025-60796
phppgadmin vulnerable to Cross-site Scripting
low2.1No fixNov 20, 2025CVE-2025-60797
phppgadmin contains a SQL injection vulnerability
medium6.5No fixNov 20, 2025CVE-2025-60798
phppgadmin contains a SQL injection vulnerability
medium6.5No fixNov 20, 2025
