CVE-2025-60797

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:phppgadmin_project:phppgadmin:*:*:*:*:*:*:*:*

History

05 Nov 2026, 13:10

Type Values Removed Values Added
Summary
  • (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.

25 Nov 2025, 19:13

Type Values Removed Values Added
First Time Phppgadmin Project
Phppgadmin Project phppgadmin
CPE cpe:2.3:a:phppgadmin_project:phppgadmin:*:*:*:*:*:*:*:*
References () https://github.com/phppgadmin/phppgadmin/blob/master/dataexport.php#L118 - () https://github.com/phppgadmin/phppgadmin/blob/master/dataexport.php#L118 - Product
References () https://github.com/pr0wl1ng/security-advisories/blob/main/CVE-2025-60797.md - () https://github.com/pr0wl1ng/security-advisories/blob/main/CVE-2025-60797.md - Third Party Advisory

20 Nov 2025, 22:16

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 6.5
CWE CWE-89

20 Nov 2025, 15:17

Type Values Removed Values Added
New CVE

Information

Published : 2025-11-20 15:17

Updated : 2026-11-05 13:10


NVD link : CVE-2025-60797

Mitre link : CVE-2025-60797

CVE.ORG link : CVE-2025-60797


JSON object : View

Products Affected

phppgadmin_project

  • phppgadmin
CWE
CWE-89

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')