{"id":"CVE-2025-60799","aliases":["GHSA-r63p-v37q-g74c"],"url":"https://o3.security/vulnerability/CVE-2025-60799","summary":"phppgadmin contains an incorrect access control vulnerability","details":"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.","published":"2025-11-20T00:00:00Z","modified":"2026-07-15T01:49:03.258249050Z","cvss":{"score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"phppgadmin/phppgadmin","fixedVersion":null}],"fix":null,"references":[{"type":"WEB","url":"https://github.com/phppgadmin/phppgadmin/blob/master/sql.php#L68-L76"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/60xxx/CVE-2025-60799.json"},{"type":"ADVISORY","url":"https://github.com/pr0wl1ng/security-advisories/blob/main/CVE-2025-60799.md"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-60799"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T01:49:03.258249050Z"}}