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

4.9
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVE CVE-2025-5103
CVSS 4.9 (Medium)
Publicly Published June 2, 2025
Last Updated June 3, 2025
Researcher Abdulaziz Alzamil - Cyber Space

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.

Learn more about SQL Injection vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for Ultimate Gift Cards for WooCommerce

Software Type Plugin
Software Slug woo-gift-cards-lite (view on wordpress.org)
Patched? Yes
Remediation Update to version 3.1.5, or a newer patched version
Affected Version
  • <= 3.1.4
Patched Version
  • 3.1.5

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation