---
id: CVE-2025-10057
title: >-
  The WP Import – Ultimate CSV XML Importer for WordPress plugin for WordPress
  is vulnerable to Remote Code Execution in all versions up to, and including,
  7.28
summary: >-
  The WP Import – Ultimate CSV XML Importer for WordPress plugin for WordPress
  is vulnerable to Remote Code Execution in all versions up to, and including,
  7.28. This is due to the write_to_customfile() function writing unfiltered PHP
  code…
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-94
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-10057'
references:
  - url: >-
      https://plugins.trac.wordpress.org/browser/wp-ultimate-csv-importer/tags/7.25/importExtensions/ImportHelpers.php#L585
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/changeset/3360428/wp-ultimate-csv-importer/trunk/importExtensions/ImportHelpers.php
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/changeset/3360428/wp-ultimate-csv-importer/trunk/uploadModules/DesktopUpload.php
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/925af22b-a728-496e-a63a-5966347ebe6c?source=cve
    label: security@wordfence.com
tags:
  - nvd
epss: 0.00729
epssPercentile: 0.52243
ingestedAt: '2026-09-26T00:22:39.922Z'
---

## Overview

The WP Import – Ultimate CSV XML Importer for WordPress plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 7.28. This is due to the write_to_customfile() function writing unfiltered PHP code to a file. This makes it possible for authenticated attackers, with Subscriber-level access and above, to inject the customFunction.php file with PHP code that can be accessed to trigger remote code execution.

## Remediation

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