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.
CVSS Details
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H Threat Intelligence
Weaknesses 1
References 5
- 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
- wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/15880d3b-87de-4b59-878c-e36e73c45e8a?source=cve
Remediation
No remediation data recorded yet
Check vendor advisories and the NVD entry for patch availability.