Security advisory
phpPgAdmin 7.13.0 and earlier contains a SQL injection vulnerability in display.php at line 396. The application passes user-controlled input from $_REQUEST['query'] directly to the browseQuery function without proper sanitization. An authenticated attacker can exploit this vulnerability to execute arbitrary SQL commands through malicious query manipulation, potentially leading to complete database compromise.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-60798
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 17:15 UTC · Revision 1
Source evidence
phpPgAdmin 7.13.0 and earlier contains a SQL injection vulnerability in display.php at line 396. The application passes user-controlled input from $_REQUEST['query'] directly to the browseQuery function without proper sanitization. An authenticated attacker can exploit this vulnerability to execute arbitrary SQL commands through malicious query manipulation, potentially leading to complete database compromise.
osv:CVE-2025-60798
Complete source record
{
"id": "c874ae81f8ec0b51b87b9b5c44a4b26af52c2e8220724797c339ca5a7a6ea8cb",
"url": "https://osv.dev/vulnerability/CVE-2025-60798",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2025-60798",
"summary": "phpPgAdmin 7.13.0 and earlier contains a SQL injection vulnerability in display.php at line 396. The application passes user-controlled input from $_REQUEST['query'] directly to the browseQuery function without proper sanitization. An authenticated attacker can exploit this vulnerability to execute arbitrary SQL commands through malicious query manipulation, potentially leading to complete database compromise.",
"evidence": "osv:CVE-2025-60798",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2025-60798",
"aliases": [
"CVE-2025-60798",
"GHSA-g6xh-wrpf-v6j6"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/phppgadmin/phppgadmin",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "13f3f821e6891ae2093e6b66ce190353624886ce"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "7.13.0"
}
],
"source": "DESCRIPTION"
},
{
"cpe": "cpe:2.3:a:phppgadmin_project:phppgadmin:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "7.13.0"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"REL_7-13-0",
"REL_7-12-1",
"REL_5-6-0",
"REL_5-1-0",
"REL_5-0-BETA-2",
"REL_5-0-BETA-1",
"REL_4-2-BETA-2",
"REL_4-2-BETA-1",
"REL_4-1-BETA-1",
"REL_3-1-RC-1",
"REL_3-1-BETA-1",
"REL_3-0-RC-2",
"REL_3-0-RC-1",
"REL_3-0-BETA-1",
"REL_3-0-0-DEV-4",
"REL_3-0-0-DEV-3",
"REL_3-0-0-DEV-2",
"REL_3-0-0-DEV-1",
"REL_0-6-5",
"REL_0-6-0",
"REL_0-5-0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-60798.json"
}
}
],
"modified": "2026-10-28T02:30:37.692070034Z",
"provider": "osv",
"references": [
"https://github.com/phppgadmin/phppgadmin/blob/master/display.php#L396",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/60xxx/CVE-2025-60798.json",
"https://github.com/pr0wl1ng/security-advisories/blob/main/CVE-2025-60797.md",
"https://github.com/pr0wl1ng/security-advisories/blob/main/CVE-2025-60798.md",
"https://nvd.nist.gov/vuln/detail/CVE-2025-60798"
],
"provider_metadata": {
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/60xxx/CVE-2025-60798.json"
}
},
"related_cves": [
{
"value": "CVE-2025-60798",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 505201,
"published_at": "2025-11-20T00:00:00+00:00"
}