On March 24th, 2025, we received a submission for an Arbitrary File Upload and an Arbitrary File Deletion vulnerability in WP User Frontend Pro, a WordPress plugin with an estimated 9,000 active installations. The arbitrary file upload vulnerability can be used by authenticated attackers, with subscriber-level access and above, to upload arbitrary files to a vulnerable site and achieve remote code execution, which is typically leveraged for a complete site takeover. The arbitrary file deletion vulnerability can be used by authenticated attackers to delete arbitrary files, including the wp-config.php file, which can also make a site takeover possible.
Props to Foxyyy who discovered and responsibly reported these vulnerabilities through the Wordfence Bug Bounty Program. This researcher earned bounties of $273.00 and $142.00 for these discoveries.
All users of Wordfence – both free and paid – are protected against any exploits targeting these vulnerabilities by the Wordfence firewall’s built-in Malicious File Upload and Directory Traversal protections.
Wordfence contacted the weDevs team on March 31, 2025, and received a response on April 7, 2025. After providing full disclosure details, the developer released a patch on June 3, 2025.
We urge users to update their sites with the latest patched version of WP User Frontend Pro, version 4.1.4 at the time of this writing, as soon as possible.
Source and more details: https://www.wordfence.com/blog/2025/06/9000-wordpress-sites-affected-by-arbitrary-file-upload-and-deletion-vulnerabilities-in-wp-user-frontend-pro-wordpress-plugin