CVE-2025-60798: SQL Injection

Published Nov 20, 2025
·
Updated

phpPgAdmin 7.13.0 and earlier contains a SQL injection vulnerability in display.php at line 396. The application passes user-controlled input from $REQUEST['query'] directly to the browseQuery function without proper sanitization. An authenticated attacker can exploit this vulnerability to execute arbitrary SQL commands through malicious query manipulation, potentially leading to complete database compromise.

Affected Software

3 affected components
phpPgAdmin phpPgAdmin<7.13.0
composer/phppgadmin/phppgadmin<=7.13.0
Phppgadmin Project Phppgadmin<=7.13.0

Event History

Nov 20, 2025
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·03:17 PM
DescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·03:30 PM
Data Sourced
via GitHub·03:30 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-60798?

CVE-2025-60798 is considered a critical SQL injection vulnerability that allows authenticated attackers to execute arbitrary SQL queries.

2

How do I fix CVE-2025-60798?

To fix CVE-2025-60798, upgrade phpPgAdmin to version 7.13.1 or later, which includes proper input sanitization.

3

Which versions of phpPgAdmin are affected by CVE-2025-60798?

CVE-2025-60798 affects phpPgAdmin versions 7.13.0 and earlier.

4

What type of attack can be performed using CVE-2025-60798?

An attacker can exploit CVE-2025-60798 to execute unauthorized SQL queries, potentially leading to data exposure or manipulation.

5

Is user authentication required to exploit CVE-2025-60798?

Yes, an attacker must be authenticated to exploit CVE-2025-60798 due to the nature of the vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203