CVE-2025-3520
HIGH
8.1
CVSS 3.1
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).
Affected WordPress components
-
avatar Plugin · avatarUp to and including 0.1.4View on WordPress.org
-
avatar Theme · avatarUp to and including 0.1.4View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- wonderboymusic Avatar — Up to and including 0.1.4
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/avatar/trunk/avatar.php#L417
- wordpress.org https://wordpress.org/plugins/avatar/
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/01769760-5bfe-4352-bc5b-141f078c0b6d?source=cve
- nvd.nist.gov Official NVD record