Description
The Frontend File Manager Plugin plugin for WordPress is vulnerable to Authenticated Arbitrary File Deletion in versions up to and including 23.6. This is due to a case-sensitive bypass of the wpfm_dir_path parameter sanitization in the wpfm_file_meta_update AJAX handler, where supplying WPFM_DIR_PATH in uppercase evades the unset check and is normalized to wpfm_dir_path by sanitize_key() during update_post_meta(), allowing an attacker to overwrite the stored file path with an arbitrary filesystem path that is then passed directly to unlink() in delete_file_locally() without any directory containment validation. This makes it possible for authenticated attackers with Subscriber-level access to delete arbitrary files on the server, including sensitive files such as wp-config.php, potentially leading to full site takeover.
Problem types
CWE-73 External Control of File Name or Path
Product status
Any version
Timeline
| 2026-05-19: | Vendor Notified |
| 2026-06-27: | Disclosed |
Credits
sorawautsukushiii
References
www.wordfence.com/...-7b1c-4f9d-93f3-abc87abea2bb?source=cve
plugins.trac.wordpress.org/...loader/tags/23.6/inc/files.php
plugins.trac.wordpress.org/...r/tags/23.6/inc/file.class.php