Advisory

GHSA-927w-vq5c-8gc3

Also known as: CVE-2025-60797

Summary

phppgadmin contains a SQL injection vulnerability

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-11-20 15:30 UTC
Modified
2025-11-21 18:44 UTC

Affected packages and fixes

phppgadmin/phppgadmin

Packagist · All systems

Affected

  • introduced 0, last affected 7.13.0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences