CVE-2025-14675: Meta Box Plugin for WordPress: Authenticated (Contributor+) Arbitrary File Deletion via ajax_delete_file
The Meta Box plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the 'ajaxdeletefile' 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…
Published Mar 7, 2026 · Updated Mar 10, 2026
Affected packages
wpmetabox/meta-box
- Ecosystem
- Composer (PHP)
- Affected
- < 5.11.2
- Fixed in
- 5.11.2
- Check
composer show wpmetabox/meta-box
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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).
Credited to ictbeheer.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-14675
- https://github.com/wpmetabox/meta-box/pull/1654
- https://plugins.trac.wordpress.org/browser/meta-box/tags/5.11.0/inc/fields/file.php#L30
- https://plugins.trac.wordpress.org/browser/meta-box/tags/5.11.0/inc/fields/file.php#L54
- https://plugins.trac.wordpress.org/changeset/3475210/meta-box#file3
- https://www.wordfence.com/threat-intel/vulnerabilities/id/036467de-95bb-4bfd-9522-df8dc17f3102?source=cve
- https://github.com/wpmetabox/meta-box/commit/08c6511607b9cc9fe8d0de7a7e91c9d5d415f831
- https://github.com/advisories/GHSA-m4q3-832v-44j6
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
