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.test.osv.dev/v1/vulns/GHSA-927w-vq5c-8gc3
Aliases
Published
2025-11-20T15:30:23Z
Modified
2025-11-21T18:57:55.335091Z
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
{
    "nvd_published_at": "2025-11-20T15:17:38Z",
    "github_reviewed_at": "2025-11-21T18:06:38Z",
    "severity": "MODERATE",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-89"
    ]
}
References

Affected packages

Packagist / phppgadmin/phppgadmin

Package

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

Affected ranges

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