CVE-2025-60796: Phppgadmin/phppgadmin Cross-Site Scripting Vulnerability

LOW
Advisory Identifier: GHSA-h369-cpjj-qfff
CWE-79
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2025-60796
GHSA Identifier GHSA-h369-cpjj-qfff
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product Phppgadmin/phppgadmin
Package Ecosystem Packagist
Published Date
Last Updated

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.

phppgadmin/phppgadmin fixed: Latest secure release
Upgrade phppgadmin/phppgadmin to Latest secure release
Verify Direct and Transitive Dependencies

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

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.

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?
CVE-2025-60796 is a security vulnerability in Phppgadmin/phppgadmin involving phppgadmin vulnerable to Cross-site Scripting under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Phppgadmin/phppgadmin versions are affected?
Affected versions include releases prior to current release patches across affected packages: phppgadmin/phppgadmin.
What version fixes CVE-2025-60796?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is phppgadmin/phppgadmin affected?
Yes, phppgadmin/phppgadmin is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with CVE-2025-60796?
CVE-2025-60796 is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (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.).
How can I check Packagist dependencies for CVE-2025-60796?
Run the dependency tree command: 'inspect dependencies for phppgadmin/phppgadmin'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}