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

CVE-2025-60798: phppgadmin contains a SQL injection vulnerability

November 20, 2025 (updated November 21, 2025)

phpPgAdmin 7.13.0 and earlier contains a SQL injection vulnerability in display.php at line 396. The application passes user-controlled input from $_REQUEST[‘query’] directly to the browseQuery function without proper sanitization. An authenticated attacker can exploit this vulnerability to execute arbitrary SQL commands through malicious query manipulation, potentially leading to complete database compromise.

References

  • github.com/advisories/GHSA-g6xh-wrpf-v6j6
  • github.com/phppgadmin/phppgadmin
  • github.com/phppgadmin/phppgadmin/blob/master/display.php
  • github.com/pr0wl1ng/security-advisories/blob/main/CVE-2025-60797.md
  • github.com/pr0wl1ng/security-advisories/blob/main/CVE-2025-60798.md
  • nvd.nist.gov/vuln/detail/CVE-2025-60798

Code Behaviors & Features

Detect and mitigate CVE-2025-60798 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.5 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sat, 13 Dec 2025 12:18:30 +0000.