CVE-2025-12138

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.
Configurations

No configuration.

History

18 Oct 2026, 20:10

Type Values Removed Values Added
Summary
  • (es) El plugin URL Image Importer para WordPress es vulnerable a la carga arbitraria de archivos debido a una validación insuficiente del tipo de archivo en todas las versiones hasta la 1.0.6, inclusive. Esto se debe a que el plugin se basa en un encabezado HTTP Content-Type controlado por el usuario para validar las cargas de archivos en la función 'uimptr_import_image_from_url()', que escribe el archivo en el servidor antes de realizar una validación adecuada. Esto hace posible que atacantes autenticados, con acceso de nivel Autor o superior, carguen archivos arbitrarios en el servidor del sitio afectado, lo que puede hacer posible la ejecución remota de código a través del archivo PHP cargado.

21 Nov 2025, 08:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-11-21 08:15

Updated : 2026-10-18 20:10


NVD link : CVE-2025-12138

Mitre link : CVE-2025-12138

CVE.ORG link : CVE-2025-12138


JSON object : View

Products Affected

No product.

CWE
CWE-434

Unrestricted Upload of File with Dangerous Type