Medium

phppgadmin contains an incorrect access control vulnerability

  • Disclosed: 20.11.2025
  • Updated: 11.10.2026 10:22

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.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package phppgadmin/phppgadmin <= 7.13.0 no fix

References

CVSS score 6.1/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness (CWE)
CWE-284
Platform
Composer
Package
phppgadmin/phppgadmin
Disclosed
20.11.2025
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-r63p-v37q-g74c - CC BY 4.0

Vulnerability history: phppgadmin/phppgadmin

All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
5
First → latest
11.2025 01.2026
Without a fix
5
Exploited in attacks
0

Severity breakdown

  • High 1
  • Medium 3
  • Low 1

Disclosures per year

  1. 2025: 4
  2. 2026: 1
  1. High · 8.8 CVE-2021-47853 <= 7.13.0 no fix
  2. Medium · 6.5 CVE-2025-60798 <= 7.13.0 no fix
  3. phppgadmin contains an incorrect access control vulnerability this entry
    Medium · 6.1 CVE-2025-60799 <= 7.13.0 no fix
  4. Medium · 6.5 CVE-2025-60797 <= 7.13.0 no fix
  5. Low CVE-2025-60796 <= 7.13.0 no fix

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.