---
id: CVE-2025-10726
title: >-
  The WPRecovery plugin for WordPress is vulnerable to SQL Injection via the
  'data[id]' parameter in all versions up to, and including, 2.0
summary: >-
  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
  prepara…
severity: critical
cvss: 9.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H'
cwe:
  - CWE-89
published: '2025-10-03'
updated: '2026-10-08'
sourceUpdated: '2026-10-08T22:10:00.563'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-10726'
references:
  - url: 'https://plugins.svn.wordpress.org/wprecovery/trunk/delete_backup.php'
    label: security@wordfence.com
  - url: 'https://plugins.svn.wordpress.org/wprecovery/trunk/index.php'
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/wprecovery/tags/2.0/delete_backup.php#L5
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/wprecovery/tags/2.0/index.php#L166
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/15880d3b-87de-4b59-878c-e36e73c45e8a?source=cve
    label: security@wordfence.com
tags:
  - nvd
epss: 0.00424
epssPercentile: 0.34674
ingestedAt: '2026-10-08T22:11:53.762Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
