CVE-2025-5103: Ultimate Gift Cards for WooCommerce <= 3.1.4 - Authenticated (Administrator+) SQL Injection via wps_wgm_save_post Function
The Ultimate Gift Cards for WooCommerce plugin for WordPress is vulnerable to boolean-based SQL Injection via the 'defaultprice' and 'productid' 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 Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2025-5103?
CVE-2025-5103 has a medium severity rating due to its potential for causing unauthorized database access through SQL injection.
How do I fix CVE-2025-5103?
To fix CVE-2025-5103, you should update the Ultimate Gift Cards for WooCommerce plugin to version 3.1.5 or later.
What versions of the Ultimate Gift Cards for WooCommerce plugin are affected by CVE-2025-5103?
CVE-2025-5103 affects all versions of the Ultimate Gift Cards for WooCommerce plugin up to and including version 3.1.4.
What type of vulnerability is CVE-2025-5103?
CVE-2025-5103 is classified as a boolean-based SQL Injection vulnerability.
What impact does CVE-2025-5103 have on my website?
CVE-2025-5103 could allow an attacker to manipulate SQL queries and extract sensitive data from your website's database.