VillaTheme GIFT4U
CVE-2026-54809
CRITICAL
Severity by source
AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L
Remote unauthenticated SQLi in a WordPress plugin warrants AV:N/AC:L/PR:N/UI:N; I assess S:U and I:H because injection in the same wp database typically allows reads and writes without crossing a security authority.
Primary rating from Vendor (Patchstack).
CVSS VectorVendor: Patchstack
Lifecycle Timeline
1DescriptionCVE.org
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in VillaTheme GIFT4U allows Blind SQL Injection.
This issue affects GIFT4U: from n/a through 1.0.10.
AnalysisAI
Blind SQL injection in the VillaTheme GIFT4U WordPress plugin (versions through 1.0.10) allows remote unauthenticated attackers to inject arbitrary SQL into backend queries via unsanitized user input. The CVSS 9.3 score reflects a scope-changed impact with high confidentiality loss and partial availability impact, though no public exploit identified at time of analysis and the flaw is not listed in CISA KEV.
Technical ContextAI
GIFT4U (also marketed as 'Gift Cards All in One for WooCommerce') is a commercial WordPress/WooCommerce plugin from VillaTheme that manages gift card creation, redemption, and balance tracking - operations that inherently involve SQL queries against WordPress and WooCommerce database tables. The root cause is CWE-89: special SQL characters in attacker-supplied input are not neutralized before being concatenated into a query, almost certainly because the plugin bypasses or misuses WordPress's $wpdb->prepare() API. Because the issue is blind, attackers infer data through boolean or time-based response differences rather than seeing direct query output, which is the typical pattern when injection occurs in WHERE clauses of plugin AJAX or REST endpoints.
RemediationAI
No vendor-released patch identified at time of analysis - the Patchstack advisory documents the issue through version 1.0.10 without naming a fixed release, so administrators should monitor https://patchstack.com/database/wordpress/plugin/gift4u-gift-cards-all-in-one-for-woo/vulnerability/wordpress-gift4u-plugin-1-0-10-sql-injection-vulnerability and VillaTheme's changelog for an update beyond 1.0.10 and apply it immediately when released. As compensating controls, deactivate the GIFT4U plugin until a fix ships (trade-off: gift card functionality unavailable to customers and staff), deploy a WAF rule such as Patchstack's vPatch or Wordfence to block SQL meta-characters on the plugin's AJAX/REST endpoints (trade-off: may produce false positives on legitimate gift-message text containing quotes), restrict the wp-admin and wp-json paths to known IPs where feasible, and ensure the WordPress database user has only the minimum privileges (no FILE, no cross-database access) to limit blast radius if injection succeeds.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
Remote code execution in the WP Query Console WordPress plugin (versions up to and including 1.0) by Ajit Bohra allows u
Same weakness CWE-89 – SQL Injection
View allShare
External POC / Exploit Code
Leaving vuln.today