{"id":"CVE-2025-60797","aliases":["CVE-2025-60797","GHSA-927w-vq5c-8gc3"],"related":[],"kind":"vulnerability","state":"published","title":"phppgadmin contains a SQL injection vulnerability","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2025-11-20T00:00:00.000Z","modified":"2026-11-05T13:10:00.180Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"7.13.0"}],"ecosystem":"Packagist","package":"phppgadmin/phppgadmin","purl":"pkg:composer/phppgadmin/phppgadmin","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"7.13.0"}],"vendor":"phppgadmin_project","product":"phppgadmin","cpe":"cpe:2.3:a:phppgadmin_project:phppgadmin:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/phppgadmin/phppgadmin/blob/master/dataexport.php#L118","tags":["product","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/pr0wl1ng/security-advisories/blob/main/CVE-2025-60797.md","tags":["third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-60797","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/phppgadmin/phppgadmin","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-11-21T15:38:31.678Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-60797","url":"https://www.cve.org/CVERecord?id=CVE-2025-60797","licence":"CVE Terms of Use","modified":"2025-11-21T15:38:33.842Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-927w-vq5c-8gc3","url":"https://github.com/advisories/GHSA-927w-vq5c-8gc3","licence":"CC-BY-4.0","modified":"2025-11-21T18:44:00.137Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-60797","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-60797","licence":"Public domain","modified":"2026-11-05T13:10:00.180Z"}],"updatedAt":"2026-11-25T22:59:07.864Z","epss":{"score":0.00509,"percentile":0.36734,"date":"2026-11-30T12:00:22.000Z"}}