Home

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.

PUBLISHED Reserved 2025-10-23 | Published 2025-11-21 | Updated 2025-11-21 | Assigner Wordfence




HIGH: 8.8CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Problem types

CWE-434 Unrestricted Upload of File with Dangerous Type

Product status

Default status
unaffected

1.0 (semver)
affected

Timeline

2025-10-23:Vendor Notified
2025-11-20:Disclosed

Credits

Kenneth Dunn finder

References

www.wordfence.com/...-1bd0-4f63-9e22-5d26de2be410?source=cve

plugins.trac.wordpress.org/...r/trunk/url-image-importer.php

plugins.trac.wordpress.org/...r/trunk/url-image-importer.php

plugins.trac.wordpress.org/...r/trunk/url-image-importer.php

plugins.trac.wordpress.org/...r/trunk/url-image-importer.php

plugins.trac.wordpress.org/...importer&sfp_email=&sfph_mail=

cve.org (CVE-2025-12138)

nvd.nist.gov (CVE-2025-12138)

Download JSON