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

AILast updated: 11/28/2025, 08:47:07 UTC

Technical Analysis

CVE-2025-12138 is a vulnerability classified under CWE-434 (Unrestricted Upload of File with Dangerous Type) found in the bww URL Image Importer plugin for WordPress, affecting all 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 controlled by the user, to validate uploaded files in the function 'uimptr_import_image_from_url()'. This function writes the uploaded file to the server before performing proper validation, allowing an authenticated attacker with Author-level privileges or higher to upload arbitrary files, including executable PHP scripts. Because the plugin does not sufficiently verify the file type before saving, attackers can bypass restrictions and place malicious files on the server. This can lead to remote code execution (RCE), enabling attackers to execute arbitrary commands, escalate privileges, or pivot within the network. The vulnerability does not require user interaction beyond authentication, and the attack vector is network-based with low complexity. The CVSS v3.1 score is 8.8, reflecting high impact on confidentiality, integrity, and availability. Although no exploits are currently known in the wild, the vulnerability poses a significant risk to WordPress sites using this plugin, especially those with multiple users having Author or higher roles. The lack of available patches at the time of disclosure increases the urgency for mitigation.

Potential Impact

For European organizations, this vulnerability poses a significant threat to WordPress-based websites that utilize the bww URL Image Importer plugin. Successful exploitation could lead to unauthorized remote code execution, allowing attackers to compromise web servers, access sensitive data, deface websites, or use the server as a foothold for further attacks within the corporate network. This could result in data breaches, service disruptions, reputational damage, and regulatory non-compliance, especially under GDPR requirements for protecting personal data. Organizations relying on WordPress for customer-facing portals, e-commerce, or internal applications are at heightened risk. The ability for an attacker with Author-level access to exploit this vulnerability means that insider threats or compromised user accounts could be leveraged to gain full control of the web server. Given the widespread use of WordPress across Europe and the common practice of using plugins to extend functionality, the potential attack surface is considerable. The impact extends beyond the web server to potentially affect backend systems if lateral movement is achieved.

Mitigation Recommendations

Immediate mitigation steps include restricting the assignment of Author-level or higher roles to trusted users only and auditing existing user privileges to minimize exposure. Disable or uninstall the bww URL Image Importer plugin until a secure patched version is released. If plugin removal is not feasible, implement web application firewall (WAF) rules to block requests attempting to upload files with suspicious Content-Type headers or file extensions commonly associated with executable scripts (e.g., .php, .phtml). Additionally, configure the web server to disallow execution of uploaded files in the plugin’s upload directories by disabling script execution (e.g., using .htaccess or equivalent server configurations). Monitor logs for unusual upload activity or attempts to access uploaded files. Employ multi-factor authentication (MFA) for WordPress accounts to reduce the risk of compromised credentials. Regularly update WordPress core and all plugins to the latest versions once patches become available. Conduct security awareness training for users with elevated privileges to recognize and report suspicious activity.

Need more detailed analysis?Upgrade to Pro Console

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: 11/28/2025, 8:47:07 AM

Last updated: 1/7/2026, 8:57:37 AM

Views: 66

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 in Console -> Billing for AI refresh and higher limits.

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

Latest Threats