CVE-2025-12138 URL Image Importer <= 1.0.6 - Authenticated (Author+) Arbitrary File Upload
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- PHPWordPress
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| bww URL Image Importer | >= 1.0, <= 1.0.6 | after 1.0.6 | Fixed |
| wordpress url-image-importer(WordPress) | >= 1.0, < 1.0.7 | 1.0.7 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| wordpress url-image-importer(WordPress) | >= 1.0, < 1.0.7 | 1.0.7 |
| bww URL Image Importer | >= 1.0, <= 1.0.6 | No fix listed |