What’s Vulnerable › Vulnerabilities

CVE-2025-5103: Ultimate Gift Cards for WooCommerce <= 3.1.4 - Authenticated (Administrator+) SQL Injection via wps_wgm_save_post Function

Description

The Ultimate Gift Cards for WooCommerce plugin for WordPress is vulnerable to boolean-based SQL Injection via the 'default_price' and 'product_id' parameters in all versions up to, and including, 3.1.4 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with Administrator-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.

Affected products

How to fix

Upgrade to a fixed version: wpswings Ultimate Gift Cards for WooCommerce 3.1.5. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-5103 or the next vulnerability affects your stack