Woocommerce Ultimate Gift CardWordPress extension · Wpswings

CVE-2024-8425

CRITICAL · 9.8 CVSS v3.1 Published 2025-02-28
Fix available
A fix is available. Upgrade to after 2.6.0 or later.
See remediation →
100/100
Remediation priority · Urgent
Remotely reachable No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
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.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

The WooCommerce Ultimate Gift Card plugin for WordPress versions up to 2.9.2 contains arbitrary file upload vulnerabilities in the 'mwb_wgm_preview_mail' and 'mwb_wgm_woocommerce_add_cart_item_data' functions due to insufficient file type validation. This critical flaw allows unauthenticated attackers to upload malicious files to the server, potentially achieving remote code execution.

MitigationImmediately update the WooCommerce Ultimate Gift Card plugin to version 2.9.3 or later to patch the arbitrary file upload vulnerability. Until the update is applied, consider disabling the plugin or implementing web application firewall rules to block suspicious file upload requests.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
Woocommerce Ultimate Gift CardWordPress extension
Affected:<= 2.6.0

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Confirm the plugin is installed
    Navigate to WordPress admin > Plugins and look for 'Wpswings Woocommerce Ultimate Gift Card' or inspect the directory wp-content/plugins/ for a folder containing 'gift-card' or 'wgm' in the name
    Affected if The plugin is present in the WordPress installation
  2. Check the installed version
    In WordPress admin > Plugins, find the Ultimate Gift Card plugin and view its version number. Alternatively, check the main plugin PHP file for the 'Version' header in the plugin comments
    Affected if The version number is 2.6.0 or lower
  3. Determine if the plugin is active
    In WordPress admin > Plugins, verify whether the Ultimate Gift Card plugin is currently activated
    Affected if The plugin is activated and running
  4. Inspect uploaded files for suspicious content
    Check the wp-content/uploads/ directory (and any custom upload directories) for unfamiliar PHP files, shell scripts, or files with double extensions like image.php.jpg. Use grep to search for PHP opening tags in uploaded files
    Affected if Unexpected PHP files or scripts exist in upload directories
  5. Review access logs for exploitation attempts
    Examine web server access logs for POST requests to endpoints containing 'mwb_wgm_preview_mail' or 'mwb_wgm_woocommerce_add_cart_item_data', or requests with file uploads to these functions
    Affected if Log entries show file upload requests to the vulnerable functions, especially from unauthorized IP addresses

You are affected if the WooCommerce Ultimate Gift Card plugin is installed with version 2.6.0 or lower and is currently active, as this allows the arbitrary file upload vulnerability to be exploited.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to a release after 2.6.0
Interim mitigation

Immediately update the WooCommerce Ultimate Gift Card plugin to version 2.9.3 or later to patch the arbitrary file upload vulnerability. Until the update is applied, consider disabling the plugin or implementing web application firewall rules to block suspicious file upload requests.

Recommended fix High confidence

WooCommerce Ultimate Gift Card version 2.9.3 or later

  1. Create a full backup of your WordPress site, including database and files
  2. Navigate to Plugins > Installed Plugins in WordPress admin
  3. Find 'WooCommerce Ultimate Gift Card' plugin and click 'Update now' if an update is available
  4. Alternatively, download version 2.9.3 from the official WordPress plugin repository or CodeCanyon
  5. Deactivate and delete the current version, then upload and install version 2.9.3
  6. Activate the plugin after installation
  7. Verify the plugin version shows 2.9.3 or higher in the plugins list
  8. Test gift card creation and email preview functionality to confirm the fix works
Caveat Review plugin changelog for any breaking changes between your current version and 2.9.3; test in staging if possible

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Woocommerce Ultimate Gift Card Scoped from the published advisory
  • Consultation1.0 h
  • Implementation2.0 h
  • Testing3.0 h
  • Review / QA2.0 h
8.0 hours of engineering $1,370
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,192.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2024-8425 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2024-8425 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data