CVE-2025-10057 Code injection in WP Import – Ultimate CSV XML Importer for WordPress
Authenticated attackers with Subscriber access can inject PHP code into a file to achieve remote code execution on the WordPress site.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-10057?
CVE-2025-10057 is a high-severity code injection vulnerability in smackcoders WP Import – Ultimate CSV XML Importer for WordPress, published on 17 Sep 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
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.
Weakness: CWE-94
Which versions are affected by CVE-2025-10057?
How do I fix CVE-2025-10057?
No fix has been published for CVE-2025-10057 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2025-10057 being exploited?
There is no known exploitation of CVE-2025-10057 in the wild and no public exploit code.
Sources
Also known as GHSA-r2wf-hqhm-qxv7.