CVE-2025-60797: SQL Injection

Published Nov 20, 2025
·
Updated

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.

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-60797?

CVE-2025-60797 has been rated as critical due to the potential for SQL injection and unauthorized database access.

2

How do I fix CVE-2025-60797?

To fix CVE-2025-60797, upgrade phpPgAdmin to version 7.13.1 or later where the SQL injection vulnerability has been mitigated.

3

What systems are affected by CVE-2025-60797?

CVE-2025-60797 affects phpPgAdmin versions prior to 7.13.1, specifically 7.13.0 and earlier versions.

4

What type of vulnerability is CVE-2025-60797?

CVE-2025-60797 is categorized as a SQL injection vulnerability due to unsafe execution of user-supplied SQL queries.

5

Can CVE-2025-60797 lead to data breaches?

Yes, CVE-2025-60797 can lead to data breaches as attackers can execute arbitrary SQL commands against the database.

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