CVE-2025-60798
JSON

6.5medium

phppgadmin contains a SQL injection vulnerability

Severity
6.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.54% (higher than 39% of CVEs)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-g6xh-wrpf-v6j6

Description

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
phppgadmin/phppgadmin (Packagist)up to 7.13.0GitHub Advisory Database
phppgadmin_project phppgadminup to 7.13.0NVD

All scores

CISA-ADP6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
GitHub6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-89

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

phpPgAdmin 7.13.0 y versiones anteriores contiene una vulnerabilidad de inyección SQL en display.php en la línea 396. La aplicación pasa entrada controlada por el usuario desde $_REQUEST[’query’] directamente a la función browseQuery sin la sanitización adecuada. Un atacante autenticado puede explotar esta vulnerabilidad para ejecutar comandos SQL arbitrarios a través de la manipulación maliciosa de consultas, lo que podría llevar al compromiso total de la base de datos.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-60798 changed 2025-11-21CVE Terms of Use
GitHub Advisory DatabaseGHSA-g6xh-wrpf-v6j6 changed 2025-11-21CC-BY-4.0
NVDCVE-2025-60798 changed 2026-11-05Public domain