CVE-2025-60799
MEDIUM 6.1CVSS 3.1phppgadmin 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. 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
- 20 Nov 2025
- Last modified
- 5 Nov 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-284
- Also known as
- GHSA-r63p-v37q-g74c
- Sources
- NVDJSONOSV GHSA-r63p-v37q-g74cJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | phppgadmin_project | phppgadmincpe:2.3:a:phppgadmin_project:phppgadmin:*:*:*:*:*:*:*:* |
<= 7.13.0 | |
| OSV | Packagist | phppgadmin/phppgadmin | <= 7.13.0 |
References
- https://github.com/phppgadmin/phppgadmin/blob/master/sql.php#L68-L76 · Product, WEB
- https://github.com/pr0wl1ng/security-advisories/blob/main/CVE-2025-60799.md · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-60799 · ADVISORY
- https://github.com/phppgadmin/phppgadmin · PACKAGE
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 20 Nov 2025)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 20 Nov 2025)