# CVE-2025-60797: 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.51%, higher than 37% of CVEs (2026-11-30)
- Published: 2025-11-20T00:00:00.000Z
- Modified: 2026-11-05T13:10:00.180Z
- Also known as: GHSA-927w-vq5c-8gc3
- 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 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.

(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:N/UI:N/S:U/C:L/I:L/A:N`

## References

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

## Sources

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

---

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