CVE-2025-10726
JSON

9.1critical

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

Severity
9.1critical CVSS:3.1 by Wordfence
Exploit likelihood
0.42% (higher than 38% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Wordfence

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

Product or packageVersionsReported by
quantumrose WPRecoveryup to 2.0CVE List

Classification

CWE-89

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

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.

NVD (es)

El plugin WPRecovery para WordPress es vulnerable a inyección SQL a través del parámetro 'data[id]' en todas las versiones hasta la 2.0, inclusive. Esto se debe a un escape insuficiente en el parámetro proporcionado por el usuario y a la falta de preparación suficiente en la consulta SQL existente. Esto hace posible que atacantes no autenticados añadan consultas SQL adicionales a consultas ya existentes que pueden usarse para extraer información sensible de la base de datos. Además, el resultado de esta inyección SQL se pasa directamente a la función unlink() de PHP, permitiendo a los atacantes eliminar archivos arbitrarios en el servidor inyectando rutas de archivo a través de la consulta SQL.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-10726 changed 2026-04-08CVE Terms of Use
NVDCVE-2025-10726 changed 2026-10-12Public domain