Description
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).
Problem types
CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Product status
* (semver)
Timeline
| 2025-12-17: | Vendor Notified |
| 2026-03-06: | Disclosed |
Credits
JongHwan Shin
References
www.wordfence.com/...-95bb-4bfd-9522-df8dc17f3102?source=cve
plugins.trac.wordpress.org/changeset/3475210/meta-box
plugins.trac.wordpress.org/...ags/5.11.0/inc/fields/file.php
plugins.trac.wordpress.org/...ags/5.11.0/inc/fields/file.php
github.com/wpmetabox/meta-box/pull/1654