# CVE-2025-60798: phppgadmin contains a SQL injection vulnerability

- Severity: Medium 6.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Published: 2025-11-20T00:00:00.000Z
- Modified: 2026-11-05T13:10:00.180Z
- Also known as: GHSA-g6xh-wrpf-v6j6
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- phppgadmin/phppgadmin (Packagist): up to 7.13.0
- phppgadmin_project phppgadmin: up to 7.13.0

## Every score

- CISA-ADP: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/phppgadmin/phppgadmin/blob/master/display.php#L396> (product, web)
- <https://github.com/pr0wl1ng/security-advisories/blob/main/CVE-2025-60797.md> (not-applicable, web)
- <https://github.com/pr0wl1ng/security-advisories/blob/main/CVE-2025-60798.md> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-60798> (advisory)
- <https://github.com/phppgadmin/phppgadmin> (package)

## Sources

- CVE List: [CVE-2025-60798](https://www.cve.org/CVERecord?id=CVE-2025-60798), CVE Terms of Use, modified 2025-11-21
- GitHub Advisory Database: [GHSA-g6xh-wrpf-v6j6](https://github.com/advisories/GHSA-g6xh-wrpf-v6j6), CC-BY-4.0, modified 2025-11-21
- NVD: [CVE-2025-60798](https://nvd.nist.gov/vuln/detail/CVE-2025-60798), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2025-60798 · Whole record: https://cve.day/CVE-2025-60798.json · Rebuilt by cve.day 2026-11-25T22:59:07.864Z
