Description
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).
Problem types
CWE-73 External Control of File Name or Path
Product status
* (semver)
Timeline
| 2025-09-05: | Vendor Notified |
| 2025-09-16: | Disclosed |
Credits
Arkadiusz Hydzik
References
www.wordfence.com/...-7a40-4566-b4d2-62b696ded2d6?source=cve
plugins.trac.wordpress.org/...26/uploadModules/FtpUpload.php
plugins.trac.wordpress.org/changeset/3360611/
plugins.trac.wordpress.org/...nk/uploadModules/FtpUpload.php