Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. phppgadmin/phppgadmin
  4. ›
  5. CVE-2025-60799

CVE-2025-60799: phppgadmin contains an incorrect access control vulnerability

November 20, 2025 (updated November 21, 2025)

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

  • github.com/advisories/GHSA-r63p-v37q-g74c
  • github.com/phppgadmin/phppgadmin
  • github.com/phppgadmin/phppgadmin/blob/master/sql.php
  • github.com/pr0wl1ng/security-advisories/blob/main/CVE-2025-60799.md
  • nvd.nist.gov/vuln/detail/CVE-2025-60799

Code Behaviors & Features

Detect and mitigate CVE-2025-60799 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 7.13.0

Solution

Unfortunately, there is no solution available yet.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-284: Improper Access Control

Source file

packagist/phppgadmin/phppgadmin/CVE-2025-60799.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 16 Dec 2025 12:21:58 +0000.