CVE-2025-7712

Madara - Core <= 2.2.3 - Unauthenticated Arbitrary File Deletion

Published Jul 17, 2025 CVSS 3.1 · 9.1 Critical EPSS 1.4% KEV · Not listed
Description
The Madara - Core plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the wp_manga_delete_zip() function in all versions up to, and including, 2.2.3. This makes it possible for unauthenticated attackers to delete arbitrary files on the server, which can easily lead to remote code execution when the right file is deleted (such as wp-config.php).

Analysis

AI-generated

Technical impact

The Madara - Core plugin for WordPress contains an insufficient file path validation flaw in the wp_manga_delete_zip() function, allowing any user to delete arbitrary files on the server. This vulnerability is a CWE‑22 type path traversal attack that can be leveraged by an unauthenticated attacker to remove critical files such as wp-config.php, potentially leading to remote code execution. The impact is therefore the loss of confidentiality, integrity, and availability of the affected WordPress installation.

Affected Systems

Actors can target any site running the Madara - Core WordPress plugin, all versions from the earliest release up to and including 2.2.3. The affected product is the Madara – Core theme, provided by MangaBooth for WordPress sites.

Risk and Exploitability

The vulnerability has a CVSS score of 9.1 and an EPSS probability of <1 %. It is not listed in the CISA KEV catalog. The flaw can be exploited with unauthenticated HTTP requests to the wp_manga_delete_zip endpoint, without any prior authentication or privileged access.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Consult MangaBooth’s website or the plugin repository for a newer release that eliminates the insecure wp_manga_delete_zip() function.
  • If an upgrade cannot be performed immediately, block or remove the wp_manga_delete_zip endpoint by disabling that feature through the plugin settings or by adding a rule that rejects requests to that URL.
  • Set restrictive file permissions on critical WordPress files such as wp-config.php (e.g., 440 or 444) so that even if a deletion endpoint is triggered, the web server cannot delete them.

Generated by OpenCVE AI on June 18, 2026 at 11:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-21768 The Madara - Core plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the wp_manga_delete_zip() function in all versions up to, and including, 2.2.3. This makes it possible for unauthenticated attackers to delete arbitrary files on the server, which can easily lead to remote code execution when the right file is deleted (such as wp-config.php).
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description The Madara - Core plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the wp_manga_delete_zip() function in all versions up to, and including, 2.2.3. This makes it possible for unauthenticated attackers to delete arbitrary files on the server, which can easily lead to remote code execution when the right file is deleted (such as wp-config.php).
Title Madara - Core <= 2.2.3 - Unauthenticated Arbitrary File Deletion
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 5:34 PM
Reserved
Jul 16, 2025, 2:00 PM
Status
Deferred
Published
Jul 17, 2025, 3:15 AM
Modified
Jun 17, 2026, 10:05 AM