CVE-2025-3055

WP User Frontend Pro <= 4.1.3 - Authenticated (Subscriber+) Arbitrary File Deletion

Published Jun 5, 2025 CVSS 3.1 · 8.1 High EPSS 1.4% KEV · Not listed
Description
The WP User Frontend Pro plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the delete_avatar_ajax() function in all versions up to, and including, 4.1.3. This makes it possible for authenticated attackers, with Subscriber-level access and above, 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 vulnerability appears in the delete_avatar_ajax() function of WP User Frontend Pro, where user‑supplied file paths are not properly validated before deletion. This allows an authenticated attacker with Subscriber role or higher to specify any filesystem path, leading to arbitrary file removal. Deleting critical files such as wp-config.php can compromise WordPress configuration and permit execution of malicious code. The flaw represents a classic path traversal and deletion abuse (CWE-22).

Affected Systems

WP User Frontend Pro (wedevs) versions up to and including 4.1.3 on WordPress sites. The issue affects all installations that have been running these versions without an upgrade.

Risk and Exploitability

The CVSS score of 8.1 marks this as a high‑severity vulnerability. With an EPSS score of < 1%, there is a very low probability of exploitation. The flaw is not listed in the CISA KEV catalog, but its impact—remote code execution through file deletion—makes it a significant risk. An attacker must be able to authenticate to the WordPress site as a Subscriber or higher and then issue a crafted AJAX request to the delete_avatar_ajax() endpoint. Once the request is processed, any file on the server may be deleted, exposing the system to further compromise.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade WP User Frontend Pro to the latest version, at minimum 4.2.0, to remove the deletion flaw.
  • Restrict the delete avatar functionality for Subscriber accounts, for example by disabling the feature or limiting role access to the AJAX endpoint until an update can be applied.
  • Ensure the WordPress install runs with the least privileged filesystem permissions, back up critical configuration files, and monitor server logs for unexpected file deletion activity.

Generated by OpenCVE AI on June 18, 2026 at 02:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-16961 The WP User Frontend Pro plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the delete_avatar_ajax() function in all versions up to, and including, 4.1.3. This makes it possible for authenticated attackers, with Subscriber-level access and above, 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': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description The WP User Frontend Pro plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the delete_avatar_ajax() function in all versions up to, and including, 4.1.3. This makes it possible for authenticated attackers, with Subscriber-level access and above, 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 WP User Frontend Pro <= 4.1.3 - Authenticated (Subscriber+) Arbitrary File Deletion
Weaknesses CWE-22
References
Metrics cvssV3_1

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

Subscriptions

No data.

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:31 PM
Reserved
Mar 31, 2025, 7:27 PM
Status
Deferred
Published
Jun 5, 2025, 6:15 AM
Modified
Jun 17, 2026, 9:19 AM