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 package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| phppgadmin/phppgadmin (Packagist) | up to 7.13.0 | GitHub Advisory Database |
| phppgadmin_project phppgadmin | up to 7.13.0 | NVD |
All scores
| CISA-ADP | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
Classification
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-60797 changed 2025-11-21 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-927w-vq5c-8gc3 changed 2025-11-21 | CC-BY-4.0 |
| NVD | CVE-2025-60797 changed 2026-11-05 | Public domain |