{"id":"CVE-2025-12138","aliases":["CVE-2025-12138"],"related":[],"kind":"vulnerability","state":"published","title":"URL Image Importer <= 1.0.6 - Authenticated (Author+) Arbitrary File Upload","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2025-11-21T07:31:48.303Z","modified":"2026-10-18T20:10:00.110Z","severity":{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-434"],"affected":[{"ranges":[{"type":"semver","introduced":"1.0","lastAffected":"1.0.6","status":"affected"}],"vendor":"bww","product":"URL Image Importer","source":"cvelist"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/1da18430-1bd0-4f63-9e22-5d26de2be410?source=cve","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/url-image-importer/trunk/url-image-importer.php#L198","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/url-image-importer/trunk/url-image-importer.php#L1319","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/url-image-importer/trunk/url-image-importer.php#L1353","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/url-image-importer/trunk/url-image-importer.php#L1358","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3395852%40url-image-importer&new=3395852%40url-image-importer&sfp_email=&sfph_mail=#file9","tags":[],"sources":["cvelist","nvd"]}],"credits":["Kenneth Dunn"],"assigner":"Wordfence","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-11-21T14:41:25.181Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-12138","url":"https://www.cve.org/CVERecord?id=CVE-2025-12138","licence":"CVE Terms of Use","modified":"2025-11-21T14:57:12.908Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-12138","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-12138","licence":"Public domain","modified":"2026-10-18T20:10:00.110Z"}],"updatedAt":"2026-11-25T22:59:07.899Z","epss":{"score":0.0074,"percentile":0.55801,"date":"2026-12-01T12:00:22.000Z"}}