Skip to content
Heist/ feed
Back to feed
Medium

phppgadmin — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2025-60798

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
phppgadmin
Affected versions
5.1+ds-1, 5.1+ds-1ubuntu1, 5.1+ds-2, 5.1+ds-3, 5.1+ds-4, 7.12.0+ds-2, 7.12.0+ds-3, 7.12.1+dfsg-1, 7.13.0+dfsg-2, 7.13.0+dfsg-3, 7.14.7+dfsg-1, 7.14.7+dfsg-1build1, 7.14.8+dfsg-1
Fixed versions
Not specified
CVEs
CVE-2025-60798
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 01:34 UTC · Revision 1

Source evidence

UBUNTU-CVE-2025-60798

core-osv · Original source

Published 20 Nov 2025, 15:17 UTC

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:UBUNTU-CVE-2025-60798

phppgadmin

Fixed versions: Not specified

phppgadmin

Fixed versions: Not specified

phppgadmin

Fixed versions: Not specified

phppgadmin

Fixed versions: Not specified

phppgadmin

Fixed versions: Not specified

phppgadmin

Fixed versions: Not specified

phppgadmin

Fixed versions: Not specified

phppgadmin

Fixed versions: Not specified

Complete source record
{
  "id": "e2d6b4ddd441e6ef7dbb40866c9c0f1ffd791d9001b869e039a8a0bb7b0caa07",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2025-60798",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-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:UBUNTU-CVE-2025-60798",
    "products": [
      {
        "name": {
          "value": "phppgadmin",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "5.1+ds-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "5.1+ds-1ubuntu1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "phppgadmin",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "5.1+ds-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "5.1+ds-3",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "phppgadmin",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "5.1+ds-4",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "7.12.0+ds-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "7.12.0+ds-3",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "7.12.1+dfsg-1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "phppgadmin",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "7.13.0+dfsg-2",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "phppgadmin",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "7.13.0+dfsg-2",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "7.13.0+dfsg-3",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "7.14.7+dfsg-1",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "phppgadmin",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "7.14.7+dfsg-1",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "phppgadmin",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "7.14.7+dfsg-1build1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "7.14.8+dfsg-1",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "phppgadmin",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "7.14.7+dfsg-1",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "7.14.7+dfsg-1build1",
            "evidence": "/affected/7/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2025-60798",
      "aliases": [
        "UBUNTU-CVE-2025-60798"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "phppgadmin",
            "purl": "pkg:deb/ubuntu/phppgadmin?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "5.1+ds-1",
            "5.1+ds-1ubuntu1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-60798.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "phppgadmin",
                "binary_version": "5.1+ds-1ubuntu1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "phppgadmin",
            "purl": "pkg:deb/ubuntu/phppgadmin?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "5.1+ds-2",
            "5.1+ds-3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-60798.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "phppgadmin",
                "binary_version": "5.1+ds-3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "phppgadmin",
            "purl": "pkg:deb/ubuntu/phppgadmin?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "5.1+ds-4",
            "7.12.0+ds-2",
            "7.12.0+ds-3",
            "7.12.1+dfsg-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-60798.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "phppgadmin",
                "binary_version": "7.12.1+dfsg-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "phppgadmin",
            "purl": "pkg:deb/ubuntu/phppgadmin?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "7.13.0+dfsg-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-60798.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "phppgadmin",
                "binary_version": "7.13.0+dfsg-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "phppgadmin",
            "purl": "pkg:deb/ubuntu/phppgadmin?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "7.13.0+dfsg-2",
            "7.13.0+dfsg-3",
            "7.14.7+dfsg-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-60798.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "phppgadmin",
                "binary_version": "7.14.7+dfsg-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "phppgadmin",
            "purl": "pkg:deb/ubuntu/phppgadmin?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "7.14.7+dfsg-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-60798.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "phppgadmin",
                "binary_version": "7.14.7+dfsg-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "phppgadmin",
            "purl": "pkg:deb/ubuntu/phppgadmin?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "7.14.7+dfsg-1build1",
            "7.14.8+dfsg-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-60798.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "phppgadmin",
                "binary_version": "7.14.8+dfsg-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "phppgadmin",
            "purl": "pkg:deb/ubuntu/phppgadmin?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "7.14.7+dfsg-1",
            "7.14.7+dfsg-1build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-60798.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "phppgadmin",
                "binary_version": "7.14.7+dfsg-1build1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:57:09.582334111Z",
      "provider": "osv",
      "upstream": [
        "CVE-2025-60798"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2025-60798",
        "https://www.cve.org/CVERecord?id=CVE-2025-60798",
        "https://github.com/pr0wl1ng/security-advisories/blob/main/CVE-2025-60797.md",
        "https://github.com/phppgadmin/phppgadmin/blob/master/display.php#L396",
        "https://github.com/pr0wl1ng/security-advisories/blob/main/CVE-2025-60798.md"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2025-60798",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 356815,
  "published_at": "2025-11-20T15:17:00+00:00"
}