URL Image Importer <= 1.0.6 - Authenticated (Author+) Arbitrary File Upload

Unrestricted Upload of File with Dangerous Type
CVE CVE-2025-12138
CVSS High (8.8)
Publicly Published November 20, 2025
Last Updated November 21, 2025
Researcher kr0d
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

1 affected software package

Software Type Plugin
Software Slug url-image-importer (view on wordpress.org)
Patched? Yes
Affected Version
  • 1.0 - 1.0.6
Patched Version
  • 1.0.7
This record contains material that is subject to copyright

Copyright 2012-2026 Defiant Inc.
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. License Detail.