CVE-2025-12138: WordPress URL Image Importer - Unrestricted File Upload
- Cve: CVE-2025-12138
- Name: WordPress URL Image Importer - Unrestricted File Upload
- 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.
- Impact: Authenticated attackers can upload arbitrary files, potentially leading to remote code execution and full server compromise.
- Remediation: Update to the latest version beyond 1.0.6.
- Vulnerability type: unrestricted_file_upload
- Vulnerability impact: remote_code_execution, file_system_write
- Requirement type: logged_in
- Requirements: Attacker needs Author-level or higher privileges
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.0074
- Epss percentile: 0.55328
- Assignee: [email protected]
- Published at: 2025-11-21T08:15:52Z
- Age in days: 368
- Modified at: 2026-10-18T20:10:00Z
- References total: 6
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-12138
- Nvd status: deferred
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-434 | Unrestricted Upload of File with Dangerous Type |
References
Same in every row:
- Source: nvd
- Tags:
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts