Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-12138: CWE-434 Unrestricted Upload of File with Dangerous Type in bww URL Image Importer

0
High
VulnerabilityCVE-2025-12138cvecve-2025-12138cwe-434
Published: Fri Nov 21 2025 (11/21/2025, 07:31:48 UTC)
Source: CVE Database V5
Vendor/Project: bww
Product: URL Image Importer

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/27/2026, 20:11:14 UTC

Technical Analysis

CVE-2025-12138 is a vulnerability classified under CWE-434 (Unrestricted Upload of File with Dangerous Type) affecting the URL Image Importer plugin for WordPress, specifically versions up to and including 1.0.6. The core issue arises from the plugin's reliance on the Content-Type HTTP header, which is user-controlled, to validate file uploads in the 'uimptr_import_image_from_url()' function. This function writes the uploaded file to the server before performing any proper validation of the file type, allowing an authenticated attacker with Author-level or higher privileges to upload arbitrary files, including malicious PHP scripts. Because the validation is insufficient and occurs post-write, attackers can bypass restrictions and potentially execute remote code on the server by accessing the uploaded PHP file. The vulnerability does not require user interaction beyond authentication and has a CVSS 3.1 score of 8.8, reflecting high impact on confidentiality, integrity, and availability. Although no known exploits are currently reported in the wild, the vulnerability presents a critical risk for WordPress sites using this plugin, especially those that allow multiple users with elevated permissions. The lack of available patches at the time of disclosure increases the urgency for mitigation.

Potential Impact

The vulnerability allows attackers to upload arbitrary files, including executable PHP scripts, leading to remote code execution on the web server. This compromises the confidentiality of sensitive data, integrity of website content, and availability of the service. Attackers could use this access to install backdoors, deface websites, steal user data, or pivot to other internal systems. Given WordPress's widespread use, especially in small to medium businesses and content-heavy sites, exploitation could lead to significant reputational damage, data breaches, and service disruptions. The requirement for Author-level access limits the attack surface but does not eliminate risk, as many WordPress sites grant such permissions to contributors or third-party users. The absence of known exploits currently provides a window for remediation, but the ease of exploitation and high impact make this a critical threat to affected organizations.

Mitigation Recommendations

Until an official patch is released, organizations should implement strict access controls to limit Author-level or higher permissions to trusted users only. Employ web application firewalls (WAFs) with rules to detect and block suspicious file uploads or execution attempts. Disable or restrict the URL Image Importer plugin if not essential, or replace it with a more secure alternative. Monitor server directories where uploads occur for unexpected PHP or executable files and remove any unauthorized files immediately. Implement file integrity monitoring to detect unauthorized changes. Additionally, configure the web server to prevent execution of uploaded files in upload directories by disabling PHP execution or using appropriate .htaccess rules. Regularly audit user roles and permissions within WordPress to minimize the number of users with elevated privileges. Finally, stay alert for official patches or updates from the plugin vendor and apply them promptly once available.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2025-10-23T21:17:07.350Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6920235bcf2d47c38997b52c

Added to database: 11/21/2025, 8:31:23 AM

Last enriched: 2/27/2026, 8:11:14 PM

Last updated: 3/23/2026, 11:15:57 PM

Views: 98

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses