Vulnerability · Published Nov 20, 2025 · Assigned by mitre

CVE-2025-60797

Medium 6.5

In plain English

A medium-severity SQL injection in the phppgadmin package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 21% of all known vulnerabilities).

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)0.3%top 78.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:13phppgadminno fix listedDEBIAN-CVE-2025-60797
Debian:14phppgadminno fix listedDEBIAN-CVE-2025-60797
Packagistphppgadmin/phppgadminno fix listedGHSA-927w-vq5c-8gc3
Ubuntu:22.04:LTSphppgadminno fix listedUBUNTU-CVE-2025-60797
Ubuntu:24.04:LTSphppgadminno fix listedUBUNTU-CVE-2025-60797
Ubuntu:25.10phppgadminno fix listedUBUNTU-CVE-2025-60797
Ubuntu:26.04:LTSphppgadminno fix listedUBUNTU-CVE-2025-60797
Ubuntu:26.10phppgadminno fix listedUBUNTU-CVE-2025-60797

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-89 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

References