WPRecovery <= 2.0 - Unauthenticated SQL Injection to Arbitrary File Deletion

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVE CVE-2025-10726
CVSS Critical (9.1)
Publicly Published October 2, 2025
Last Updated October 3, 2025
Researcher Muhammad Yudha - DJ
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.

References

1 affected software package

Software Type Plugin
Software Slug wprecovery (view on wordpress.org)
Patched? No
Affected Version
  • <= 2.0
Patched Version
This record contains material that is subject to copyright

Copyright 2012-2026 Defiant Inc.
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. License Detail.