Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
9.1

CVE-2026-120518: BuddyPress XProfile Image Field can delete any server file

CVE-2026-120518 · published 14 days ago
Summary

The BuddyPress XProfile Image Field plugin for WordPress (up to version 3.1.0) lets anyone who can register on your site remove files from the server. By sending a specially crafted image field during signup, an attacker can cause the plugin to delete files such as configuration files, potentially allowing them to take control of the site. Disable open registration or remove the image field, and update or replace the plugin with a fixed version as soon as possible.

What to do

The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.

Affected software
VendorProductAffected versions
kalengi buddypress xprofile custom image field <= 3.1.0
Original advisory text
BuddyPress XProfile Image Field <= 3.1.0 - Unauthenticated Arbitrary File Deletion via Signup Image Field Activation Handler
The BuddyPress XProfile Image Field plugin for WordPress is vulnerable to arbitrary file deletion in all versions up to, and including, 3.1.0. This is due to bpxp_image_field_update_on_user_activation() calling unlink() on a path built from visitor-supplied signup metadata with no realpath() resolution, no containment check against the profile-image directory and no extension allow-list. Submitting a zero-byte file with the 'field_N_hidden' parameter during registration makes the plugin store the raw value, which is then resolved against the document root when the pending signup is activated. This makes it possible for unauthenticated attackers to delete arbitrary files on the server, which can easily lead to remote code execution when the right file (such as wp-config.php) is deleted. Requires open registration and an image-type profile field on the signup form.
Fix within
Internet-facing 14 days
Internal 60 days
  • Not known to be exploited
  • Can be exploited automatically
  • Gives an attacker partial control
Severity
9.1 Critical
Exploitation
<1% chance of attack within 30 days
Type
CWE-22Path Traversal
Timeline
Published3 Nov 2026
Updated14 Nov 2026
First seen3 Nov 2026
Sources
CVE-2026-120518 · MITRE
Track software like this
Free during beta