CVE-2026-120518

BuddyPress XProfile Image Field <= 3.1.0 - Unauthenticated Arbitrary File Deletion via Signup Image Field Activation Handler

Published Nov 3, 2026 CVSS 3.1 · 9.1 Critical EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The BuddyPress XProfile Image Field plugin for WordPress contains a critical flaw that allows an attacker to delete any file on the server without authentication. By exploiting a path traversal weakness in the signup image field activation handler, a malicious user can submit a specially crafted zero‑byte file reference that the plugin processes and deletes during account activation. This deletion can target vital configuration files, enabling remote code execution or site compromise.

Affected Systems

WordPress installations using the BuddyPress XProfile Image Field plugin, versions up to and including 3.1.0, are affected. The vulnerability arises when the plugin’s image‑type profile field is present on a public signup form and the site allows open registration. No other plugins or WordPress core components are implicated.

Risk and Exploitability

The flaw receives a CVSS score of 9.1, indicating a high threat severity. The EPSS score is not available, but the missing containment checks and lack of validation present a low effort-to-compromise scenario. The vulnerability is not listed in the CISA KEV catalog. The likely attack vector is an unauthenticated user submitting a crafted registration request; no additional privileges or network access are required beyond the ability to access the signup page.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the BuddyPress XProfile Image Field plugin to the latest released version (3.1.1 or later) which contains the fixed image field activation handler.
  • If an immediate upgrade is not possible, temporarily disable open registration on the site or remove the image‑type profile field from the signup form to eliminate the activation trigger.
  • Manually patch the plugin by adding server‑side validation: enforce realpath resolution, restrict unlink operations to the profile‑image directory, and whitelist allowed file extensions before deletion.

Generated by OpenCVE AI on November 3, 2026 at 06:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title BuddyPress XProfile Image Field <= 3.1.0 - Unauthenticated Arbitrary File Deletion via Signup Image Field Activation Handler
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H'}

Subscriptions

No data.

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Nov 7, 2026, 2:30 AM
Reserved
Nov 2, 2026, 4:15 PM
Status
Deferred
Published
Nov 3, 2026, 5:18 AM
Modified
Nov 7, 2026, 3:17 AM