CVE-2025-12138HIGH 8.8EPSS p43.7%
CVE-2025-12138CVE-2025-12138
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.
Scoring
| CVSS 3.1 | 8.8 (HIGH) |
| Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| EPSS | 0.59% probability of exploitation · percentile 43.7% · 2026-06-18T12:00:27Z |
| Published | 2025-11-21 |
| Last modified | 2026-04-15 |
Underlying weaknesses· 1
References
- https://plugins.trac.wordpress.org/browser/url-image-importer/trunk/url-image-importer.php#L1319
- https://plugins.trac.wordpress.org/browser/url-image-importer/trunk/url-image-importer.php#L1353
- https://plugins.trac.wordpress.org/browser/url-image-importer/trunk/url-image-importer.php#L1358
- https://plugins.trac.wordpress.org/browser/url-image-importer/trunk/url-image-importer.php#L198
- 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
- https://www.wordfence.com/threat-intel/vulnerabilities/id/1da18430-1bd0-4f63-9e22-5d26de2be410?source=cve
1
| Type | Target | Confidence | Tier |
|---|---|---|---|
| Weakness | Unrestricted Upload of File with Dangerous Typecwe-434 | 0% | live |
Related by meaning· 6
Nearest entities by semantic similarity across the cs-graph corpus.