Description
The BuddyPress Xprofile Custom Field Types plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the 'delete_field' function in all versions up to, and including, 1.2.8. This makes it possible for authenticated attackers, with Subscriber-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
| 2026-01-05: | Disclosed |
Credits
Sarawut Poolkhet
References
www.wordfence.com/...-dac3-490e-89dd-268be8eb7bf5?source=cve
plugins.trac.wordpress.org/.../class-field-upload-helper.php
plugins.trac.wordpress.org/...bp-xprofile-custom-field-types