Meta Box Plugin for WordPress: Authenticated (Contributor+) Arbitrary File Deletion via ajax_delete_file
High severity
GitHub Reviewed
Published
Mar 7, 2026
to the GitHub Advisory Database
•
Updated Mar 10, 2026
Description
Published by the National Vulnerability Database
Mar 7, 2026
Published to the GitHub Advisory Database
Mar 7, 2026
Reviewed
Mar 10, 2026
Last updated
Mar 10, 2026
The Meta Box plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the 'ajax_delete_file' function in all versions up to, and including, 5.11.1. This makes it possible for authenticated attackers, with Contributor-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).
References