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

CVE-2025-60797: 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 dataexport.php at line 118. The application directly executes user-supplied SQL queries from the $_REQUEST[‘query’] parameter without any sanitization or parameterization via $data->conn->Execute($_REQUEST[‘query’]). An authenticated attacker can exploit this vulnerability to execute arbitrary SQL commands, potentially leading to complete database compromise, data theft, or privilege escalation.

References

  • github.com/advisories/GHSA-927w-vq5c-8gc3
  • github.com/phppgadmin/phppgadmin
  • github.com/phppgadmin/phppgadmin/blob/master/dataexport.php
  • github.com/pr0wl1ng/security-advisories/blob/main/CVE-2025-60797.md
  • nvd.nist.gov/vuln/detail/CVE-2025-60797

Code Behaviors & Features

Detect and mitigate CVE-2025-60797 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-60797.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Mon, 24 Nov 2025 00:19:04 +0000.