CVE-2025-60797
JSON

6.5medium

phppgadmin contains a SQL injection vulnerability

Severity
6.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.51% (higher than 37% of CVEs)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-927w-vq5c-8gc3

Description

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.

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:N/UI:N/S:U/C:L/I:L/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 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.

NVD (es)

phpPgAdmin 7.13.0 y versiones anteriores contiene una vulnerabilidad de inyección SQL en dataexport.php en la línea 118. La aplicación ejecuta directamente consultas SQL proporcionadas por el usuario desde el parámetro $_REQUEST[’query’] sin ninguna sanitización o parametrización a través de $data -> conn -> Execute($_REQUEST[’query’]). Un atacante autenticado puede explotar esta vulnerabilidad para ejecutar comandos SQL arbitrarios, lo que podría llevar a un compromiso completo de la base de datos, robo de datos o escalada de privilegios.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-60797 changed 2025-11-21CVE Terms of Use
GitHub Advisory DatabaseGHSA-927w-vq5c-8gc3 changed 2025-11-21CC-BY-4.0
NVDCVE-2025-60797 changed 2026-11-05Public domain