---
id: CVE-2025-14997
title: >-
  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
summary: >-
  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 p…
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-22
published: '2026-01-06'
updated: '2026-09-30'
sourceUpdated: '2026-09-30T23:10:00.237'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-14997'
references:
  - url: >-
      https://plugins.trac.wordpress.org/browser/bp-xprofile-custom-field-types/tags/1.2.8/src/handlers/class-field-upload-helper.php
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/changeset/3430565/bp-xprofile-custom-field-types
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/89a7a717-dac3-490e-89dd-268be8eb7bf5?source=cve
    label: security@wordfence.com
tags:
  - nvd
epss: 0.007
epssPercentile: 0.51352
ingestedAt: '2026-09-30T23:29:32.545Z'
---

## Overview

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).

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
