GHSA-927w-vq5c-8gc3

Suggest an improvement
Source
https://github.com/advisories/GHSA-927w-vq5c-8gc3
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/11/GHSA-927w-vq5c-8gc3/GHSA-927w-vq5c-8gc3.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-927w-vq5c-8gc3
Aliases
Published
2025-11-20T15:30:23Z
Modified
2025-11-21T18:44:00Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N CVSS Calculator
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.

Database specific
{
    "cwe_ids":  [
        "CWE-89"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2025-11-21T18:06:38Z",
    "nvd_published_at":  "2025-11-20T15:17:38Z",
    "severity":  "MODERATE"
}
References

Affected packages

Packagist / phppgadmin/phppgadmin

Package

Name
phppgadmin/phppgadmin
Purl
pkg:composer/phppgadmin/phppgadmin

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Last Affected
7.13.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/11/GHSA-927w-vq5c-8gc3/GHSA-927w-vq5c-8gc3.json"