CVE-2025-12138 URL Image Importer <= 1.0.6 - Authenticated (Author+) Arbitrary File Upload
Authenticated attackers can upload arbitrary files via URL import, potentially leading to remote code execution on WordPress sites.
- 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-12138?
CVE-2025-12138 is a high-severity vulnerability in bww URL Image Importer, published on 21 Nov 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The URL Image Importer plugin for WordPress is vulnerable to arbitrary file uploads due to insufficient file type validation in all versions up to, and including, 1.0.6. This is due to the plugin relying on a user-controlled Content-Type HTTP header to validate file uploads in the 'uimptr_import_image_from_url()' function which writes the file to the server before performing proper validation. This makes it possible for authenticated attackers, with Author-level access and above, to upload arbitrary files on the affected site's server which may make remote code execution possible via the uploaded PHP file.
Weakness: CWE-434
Which versions are affected by CVE-2025-12138?
How do I fix CVE-2025-12138?
No fix has been published for CVE-2025-12138 yet. Limit exposure of the affected software until one is available.
Is CVE-2025-12138 being exploited?
There is no known exploitation of CVE-2025-12138 in the wild and no public exploit code.
Sources
Also known as GHSA-gpw6-7fmv-fc4m.