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).
Problem types
CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Product status
Any version
Timeline
| 2025-06-04: | Disclosed |
Credits
Friderika Baranyai
References
www.wordfence.com/...-9e56-4b58-9cfc-a97f6892cc2b?source=cve
headwayapp.co/wp-user-frontend-changelog