CVE-2025-60796: Phppgadmin/phppgadmin Cross-Site Scripting Vulnerability
LOWCVE-2025-60796 is a LOW cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Phppgadmin/phppgadmin libraries in the Packagist ecosystem. The issue involves phppgadmin vulnerable to cross-site scripting. Remediation is available in the latest vendor maintenance releases.
CVE-2025-60796 at a Glance
How to Fix CVE-2025-60796
To remediate this vulnerability, upgrade all affected Phppgadmin/phppgadmin dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade phppgadmin/phppgadmin to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for phppgadmin/phppgadmin
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-60796, inspect your project dependencies for Phppgadmin/phppgadmin:
inspect dependencies for phppgadmin/phppgadmin
Analyze the terminal output to locate any version of Phppgadmin/phppgadmin in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Phppgadmin/phppgadmin, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-60796 Affected Phppgadmin/phppgadmin Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
phppgadmin/phppgadmin
|
Packagist |
≤ 7.13.0
|
|
References
Frequently Asked Questions
What is CVE-2025-60796?
Which Phppgadmin/phppgadmin versions are affected?
What version fixes CVE-2025-60796?
Is phppgadmin/phppgadmin affected?
What CWE is associated with CVE-2025-60796?
How can I check Packagist dependencies for CVE-2025-60796?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-h369-cpjj-qfff",
"modified" : "2025-11-20T18:15:04Z",
"published" : "2025-11-20T15:30:23Z",
"aliases" : [ "CVE-2025-60796" ],
"summary" : "phppgadmin vulnerable to Cross-site Scripting",
"details" : "phpPgAdmin versions 7.13.0 and earlier contain multiple cross-site scripting (XSS) vulnerabilities across various components. User-supplied inputs from $_REQUEST parameters are reflected in HTML output without proper encoding or sanitization in multiple locations including sequences.php, indexes.php, admin.php, and other unspecified files. An attacker can exploit these vulnerabilities to execute arbitrary JavaScript in victims' browsers, potentially leading to session hijacking, credential theft, or other malicious actions.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "phppgadmin/phppgadmin"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "7.13.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-60796"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/phppgadmin/phppgadmin"
}, {
"type" : "WEB",
"url" : "https://github.com/phppgadmin/phppgadmin/blob/master/admin.php#L35"
}, {
"type" : "WEB",
"url" : "https://github.com/phppgadmin/phppgadmin/blob/master/indexes.php#L29"
}, {
"type" : "WEB",
"url" : "https://github.com/phppgadmin/phppgadmin/blob/master/sequences.php#L316"
}, {
"type" : "WEB",
"url" : "https://github.com/pr0wl1ng/security-advisories/blob/main/CVE-2025-60796.md"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2025-11-20T18:15:04Z",
"nvd_published_at" : "2025-11-20T15:17:38Z"
}
}