Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://plugins.trac.wordpress.org/browser/url-image-importer/trunk/url-image-im
- https://plugins.trac.wordpress.org/browser/url-image-importer/trunk/url-image-im
- https://plugins.trac.wordpress.org/browser/url-image-importer/trunk/url-image-im
- https://plugins.trac.wordpress.org/browser/url-image-importer/trunk/url-image-im
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old
- https://www.wordfence.com/threat-intel/vulnerabilities/id/1da18430-1bd0-4f63-9e2
FAQ
What is CVE-2025-12138?
CVE-2025-12138 is a vulnerability with a CVSS score of 8.8 (HIGH). 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 rely...
How severe is CVE-2025-12138?
CVE-2025-12138 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-12138?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.