What the vulnerability does
01Description
The WooCommerce Ultimate Gift Card plugin for WordPress is vulnerable to arbitrary file uploads due to insufficient file type validation in the 'mwb_wgm_preview_mail' and 'mwb_wgm_woocommerce_add_cart_item_data' functions in all versions up to, and including, 2.9.2. This makes it possible for unauthenticated attackers to upload arbitrary files on the affected site's server which may make remote code execution possible. Please note that this may have been patched on an older version than 2.9.2, however, we do not have access to older versions of the software to confirm when the patch was added. The only patched version we have confirmed is 2.9.3.
Explanation of Vulnerability in Simple Terms
02Summary
WooCommerce Ultimate Gift Card versions up to 2.9.2 allow unauthenticated attackers to upload arbitrary files to the server without restriction. An attacker can upload malicious files—such as PHP scripts—to gain control of the site. No user interaction or authentication is required. This vulnerability affects all installations of the plugin.
What an attacker can do
03Attacker Capabilities
Upload arbitrary files, including PHP scripts, to run code on the site without authentication.
Potential impact on your site
04Site Impact
Complete site compromise: attackers can run their own code, steal data, modify content, or take the site offline.
Conditions required to exploit
05Prerequisites
Network access to the site; no authentication or user interaction required.
Key dates
06Disclosure timeline
February 28, 2025
CVE published
April 8, 2026
Record updated