NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

CVE-2025-60797: phppgadmin contains a SQL injection vulnerability

mediumCVSS 3.1 6.5GHSA-927w-vq5c-8gc3

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']).

Published Nov 20, 2025 · Updated Nov 21, 2025

Affected packages

phppgadmin/phppgadmin

Ecosystem
Composer (PHP)
Affected
<= 7.13.0
Fixed in
No patched version yet
Check
composer show phppgadmin/phppgadmin

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Composer (PHP) vulnerabilities

All Composer (PHP) entries