CVE-2025-60796
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedphpPgAdmin 7.13.0 and earlier contains multiple cross-site scripting (XSS) vulnerabilities across various components. User-supplied input from $_REQUEST parameters is 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · moderate confidenceMultiple reflected XSS vulnerabilities exist in phpPgAdmin 7.13.0 and earlier where user-supplied input from $_REQUEST parameters is directly reflected in HTML output without sanitization or encoding. Affected files include sequences.php, indexes.php, admin.php, and other unspecified files, allowing attackers to inject arbitrary JavaScript that executes in victim browsers.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data<= 7.13.0CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check installed phpPgAdmin versionLocate the version file (typically version.php in the root directory or check the X-Powered-By header). Common paths: /version.php, /ibraries/Version.class.php, or inspect the page footer for version display.Affected if The installed version is 7.13.0 or any earlier version (e.g., 7.12.0, 7.11.0, etc.)
-
Identify affected PHP filesVerify the presence of sequences.php, indexes.php, and admin.php in the phpPgAdmin installation directory. These files are typically found in the /browser/ or /src/ subdirectory depending on the installation structure.Affected if Any of these files exist in the installation and the version is <= 7.13.0
-
Examine code for unsanitized $_REQUEST usageOpen each affected file (sequences.php, indexes.php, admin.php) and search for direct usage of $_REQUEST or $_GET/$_POST parameters embedded in HTML output without htmlspecialchars() or equivalent encoding. Look for patterns like: echo $_REQUEST['param']; or <div><?php echo $_REQUEST['param']; ?></div>Affected if The code contains $_REQUEST parameter values reflected directly in HTML output without sanitization functions like htmlspecialchars(), htmlentities(), or equivalent encoding mechanisms
-
Verify user input pathways are accessibleConfirm the web application is accessible and these affected files can be reached via HTTP requests. Test accessing the files directly or through the application's navigation to confirm they process and display user-supplied parameters.Affected if The affected files are accessible and process user-supplied input from URL parameters without sanitization
You are affected if phpPgAdmin version is 7.13.0 or earlier AND the affected files (sequences.php, indexes.php, admin.php) contain unsanitized $_REQUEST parameters reflected in HTML output.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedImplement proper input validation and output encoding for all user-supplied data before rendering in HTML. Apply context-appropriate escaping functions (such as htmlspecialchars()) to all $_REQUEST parameters in the affected files and conduct thorough testing across all user input pathways.
phpPgAdmin > 7.13.0 (latest stable release)
- 1. Backup your current phpPgAdmin installation and configuration files
- 2. Download the latest stable version of phpPgAdmin from the official repository (github.com/phppgadmin/phppgadmin)
- 3. Extract the new version to your web server's document root
- 4. Copy your existing configuration file (conf/config.php) to the new installation
- 5. Verify file permissions are correct (web server user should have read access)
- 6. Test that phpPgAdmin connects to your PostgreSQL server successfully
- 7. Verify the application loads without errors in your browser
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation8.0 h
- Testing4.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,800.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2025-60796 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-60796 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data