CVE-2025-10726
Description
The WPRecovery plugin for WordPress is vulnerable to SQL Injection via the 'data[id]' parameter in all versions up to, and including, 2.0. This is due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. Additionally, the result of this SQL injection is passed directly to PHP's unlink() function, allowing attackers to delete arbitrary files on the server by injecting file paths through the SQL query.
Affected WordPress components
-
wprecovery Plugin · wprecoveryUp to and including 2.0View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- quantumrose WPRecovery — Up to and including 2.0
References
- plugins.svn.wordpress.org https://plugins.svn.wordpress.org/wprecovery/trunk/delete_backup.php
- plugins.svn.wordpress.org https://plugins.svn.wordpress.org/wprecovery/trunk/index.php
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/wprecovery/tags/2.0/delete_backup.php#L5
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/wprecovery/tags/2.0/index.php#L166
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/15880d3b-87de-4b59-878c-e36e73c45e8a?source=cve
- nvd.nist.gov Official NVD record