---
id: CVE-2025-10058
title: >-
  The WP Import – Ultimate CSV XML Importer for WordPress plugin for WordPress
  is vulnerable to arbitrary file deletion due to insufficient file path
  validation in the upload_function() function in all versions up to, and
  including, 7.27
summary: >-
  The WP Import – Ultimate CSV XML Importer for WordPress plugin for WordPress
  is vulnerable to arbitrary file deletion due to insufficient file path
  validation in the upload_function() function in all versions up to, and
  including, 7.27. …
severity: high
cvss: 8.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H'
cwe:
  - CWE-73
published: '2025-09-17'
updated: '2026-09-26'
sourceUpdated: '2026-09-26T00:10:00.127'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-10058'
references:
  - url: >-
      https://plugins.trac.wordpress.org/browser/wp-ultimate-csv-importer/tags/7.26/uploadModules/FtpUpload.php#L200
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/changeset/3357936/wp-ultimate-csv-importer/trunk/uploadModules/FtpUpload.php
    label: security@wordfence.com
  - url: 'https://plugins.trac.wordpress.org/changeset/3360611/'
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/5a6bcfa6-7a40-4566-b4d2-62b696ded2d6?source=cve
    label: security@wordfence.com
tags:
  - nvd
epss: 0.00619
epssPercentile: 0.47443
ingestedAt: '2026-09-26T00:22:39.923Z'
---

## Overview

The WP Import – Ultimate CSV XML Importer for WordPress plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the upload_function() function in all versions up to, and including, 7.27. 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.
