CVE-2025-12138: URL Image Importer (WordPress plugin) · Unrestricted File Upload
Affects URL Image Importer (WordPress plugin)Source CVE Database V5
Not known to be exploited · CVSS 8.8 High.
Data as of 26 Oct 2026, 06:26 UTC
- EPSS
- 0.7% chance of exploitation in 30 days – higher than 54% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 21 Nov 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| bww URL Image Importer | Affected
| Fixed in– |
AI-suggested
Until an official patch is released, organizations should implement strict access controls to limit Author-level or higher permissions to trusted users only. Employ web application firewalls (WAFs) with rules to detect and block suspicious file uploads or execution attempts. Disable or restrict the URL Image Importer plugin if not essential, or replace it with a more secure alternative. Monitor server directories where uploads occur for unexpected PHP or executable files and remove any unauthorized files immediately. Implement file integrity monitoring to detect unauthorized changes. Additionally, configure the web server to prevent execution of uploaded files in upload directories by disabling PHP execution or using appropriate .htaccess rules. Regularly audit user roles and permissions within WordPress to minimize the number of users with elevated privileges. Finally, stay alert for official patches or updates from the plugin vendor and apply them promptly once available.
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.
References
- wordfence.com/threat-intel/vulnerabilities/id/1da18430-1bd0-4f63-9e22-5d26de2be410?source=cve (opens in a new tab)
- plugins.trac.wordpress.org/browser/url-image-importer/trunk/url-image-importer.php (opens in a new tab)
- plugins.trac.wordpress.org/browser/url-image-importer/trunk/url-image-importer.php (opens in a new tab)
- plugins.trac.wordpress.org/browser/url-image-importer/trunk/url-image-importer.php (opens in a new tab)
- plugins.trac.wordpress.org/browser/url-image-importer/trunk/url-image-importer.php (opens in a new tab)
- plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3395852%40url-image-importer&new=3395852%40url-image-importer&sfp_email=&sfph_mail= (opens in a new tab)