Medium severity · published Jun 3, 2025
CVE-2025-5103
Ultimate Gift Cards for WooCommerce <= 3.1.4 - Authenticated (Administrator+) SQL Injection via wps_wgm_save_post Function
4.9
CVSS
0.4%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
High
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 32% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
UG
Ultimate Gift Cards for WooCommerce · wpswings
through 3.1.4 · source: vendor, NVD
Affected product
UG
Ultimate Gift Cards for WooCommerce
wpswings
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-5103
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-5103
Product
https://plugins.trac.wordpress.org/browser/woo-gift-cards-lite/tags/3.1.4/admin/class-woocommerce-gift-cards-lite-admin.php#L571
Patch
https://plugins.trac.wordpress.org/changeset/3303359/
Product
https://wordpress.org/plugins/woo-gift-cards-lite/#developers
Third Party Advisory
https://www.wordfence.com/threat-intel/vulnerabilities/id/e9e89383-a9c6-4300-970c-0b36e4d97e3d?source=cve
More from Ultimate Gift Cards for WooCommerce
7.5
CVE-2024-11423
Ultimate Gift Cards for WooCommerce <= 3.0.6 - Missing Authorization to Infinite Money Glitch
4.3
CVE-2021-4391
The Ultimate Gift Cards for WooCommerce plugin for WordPress is vulnerable to Cross-Site Request Forgery in versions up to, and including, 2.1.1
