CVE-2025-3520

Avatar <= 0.1.4 - Authenticated (Subscriber+) Arbitrary File Deletion

Published Apr 18, 2025 CVSS 3.1 · 8.1 High EPSS 1.0% KEV · Not listed
Description
The Avatar plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in a function in all versions up to, and including, 0.1.4. 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 Avatar plugin contains an insufficient file path validation that lets an authenticated user delete any file on the server. With Subscriber-level access or higher, an attacker can remove critical files such as wp-config.php, which can quickly lead to remote code execution.

Affected Systems

All installations of the Avatar plugin by wonderboymusic up to version 0.1.4 are affected. Any WordPress site running these plugin versions is vulnerable; the issue originates from the plugin's file deletion function.

Risk and Exploitability

Based on the description, it is inferred that the attack vector is a web interface that an authenticated Subscriber-level user can use from the network. Attackers must have at least Subscriber-level access to execute the vulnerable function, after which they can delete arbitrary files on the server. Once critical files such as wp-config.php are removed, remote code execution can be achieved. The CVSS score of 8.1 reflects high severity, while an EPSS score of < 1% indicates a moderate likelihood of exploitation in the wild. The vulnerability is not listed in CISA KEV.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Avatar plugin to the latest version (or remove it if no update is available).
  • Restrict the file deletion capability by revoking Subscriber-level permissions or disabling the feature via plugin settings.
  • Audit the site's file system for missing critical files and enforce strict file permissions to reduce impact.

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

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-11807 The Avatar plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in a function in all versions up to, and including, 0.1.4. 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 Avatar plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in a function in all versions up to, and including, 0.1.4. 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 Avatar <= 0.1.4 - 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'}

Weaknesses
  • CWE-22

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

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 4:32 PM
Reserved
Apr 11, 2025, 2:49 PM
Status
Deferred
Published
Apr 18, 2025, 2:15 AM
Modified
Jun 17, 2026, 9:20 AM