CVE-2025-5103 MEDIUM

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

Vendor Wpswings
Product Ultimate Gift Cards for WooCommerce
Weakness CWE-89 · SQLi
Published June 3, 2025
Last update April 8, 2026

CVSS base score

4.9/10
Attack vector Network
Attack complexity Low
Privileges required High
User interaction None
Confidentiality High
Integrity None

CVSS vector

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

What the vulnerability does

01Description

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.

Explanation of Vulnerability in Simple Terms

02Summary

A SQL injection vulnerability in Ultimate Gift Cards for WooCommerce allows authenticated administrators to read sensitive database information. The flaw exists in versions up to 3.1.4 and requires high-level admin privileges to exploit. No user interaction is needed once an admin account is compromised or misused. Update to a version newer than 3.1.4 to remediate.

What an attacker can do

03Attacker Capabilities

Read sensitive data from the site's database if they have admin access.

Potential impact on your site

04Site Impact

A compromised or malicious admin account can extract sensitive database records without leaving obvious traces.

Conditions required to exploit

05Prerequisites

Attacker must have administrator-level privileges on the WordPress site.

Key dates

06Disclosure timeline

June 3, 2025 CVE published
April 8, 2026 Record updated