CVE-2025-12138
JSON

8.8high

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

Severity
8.8high CVSS:3.1 by Wordfence
Exploit likelihood
0.74% (higher than 55% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Wordfence

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.

Affected

Product or packageVersionsReported by
bww URL Image Importerfrom 1.0 up to 1.0.6CVE List

Classification

CWE-434

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (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.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-12138 changed 2025-11-21CVE Terms of Use
NVDCVE-2025-12138 changed 2026-10-18Public domain