WPTrivo Gift Cards Lite Security & Risk Analysis

wordpress.org/plugins/wptrivo-gift-cards-lite

A lightweight WooCommerce plugin that allows you to sell digital gift cards, send them to recipients on a chosen date, and let customers select from a …

0 active installs v1.0.1 PHP 7.4+ WP 5.5+ Updated Dec 18, 2025
couponsecommercegift-cardsvoucherswoocommerce
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is WPTrivo Gift Cards Lite Safe to Use in 2026?

Generally Safe

Score 100/100

WPTrivo Gift Cards Lite has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 3mo ago
Risk Assessment

The "wptrivo-gift-cards-lite" plugin v1.0.1 presents a mixed security posture. On the positive side, it demonstrates good practices by using prepared statements for all SQL queries and avoids external HTTP requests. The vulnerability history is also clean, with no recorded CVEs, suggesting a potentially stable and well-maintained codebase. However, the static analysis reveals significant concerns regarding its attack surface and authentication mechanisms.

Specifically, the plugin exposes two AJAX handlers without any authentication checks. This is a critical oversight, as it could allow unauthenticated users to trigger potentially sensitive functionality. Furthermore, while the plugin has a small number of entry points, the unprotected ones represent a tangible risk. The absence of capability checks is also noteworthy and contributes to the overall concern about access control within the plugin's exposed functionalities. The moderate rate of unescaped output, while not critical, could also lead to cross-site scripting vulnerabilities if malicious input is not handled carefully.

In conclusion, while the plugin benefits from a clean vulnerability history and secure SQL handling, the two unprotected AJAX handlers pose a significant and immediate risk. The lack of capability checks further exacerbates this. Developers should prioritize implementing robust authentication and authorization for these AJAX endpoints to mitigate potential exploits and improve the plugin's overall security. The unescaped output also warrants attention for enhanced XSS protection.

Key Concerns

  • Unprotected AJAX handlers
  • No capability checks on entry points
  • Moderate unescaped output
Vulnerabilities
None known

WPTrivo Gift Cards Lite Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Code Analysis
Analyzed Mar 17, 2026

WPTrivo Gift Cards Lite Code Analysis

Dangerous Functions
0
Raw SQL Queries
0
2 prepared
Unescaped Output
35
123 escaped
Nonce Checks
5
Capability Checks
0
File Operations
1
External Requests
0
Bundled Libraries
1

Bundled Libraries

Select2

SQL Query Safety

100% prepared2 total queries

Output Escaping

78% escaped158 total outputs
Attack Surface
2 unprotected

WPTrivo Gift Cards Lite Attack Surface

Entry Points3
Unprotected2

AJAX Handlers 2

authwp_ajax_wptgcl_preview_gift_cardincludes\class-wptrivo-gift-cards-lite.php:196
noprivwp_ajax_wptgcl_preview_gift_cardincludes\class-wptrivo-gift-cards-lite.php:197

Shortcodes 1

[wptgcl_gift_card_products] public\class-wptrivo-gift-cards-lite-public.php:62
WordPress Hooks 31
actionadmin_enqueue_scriptsincludes\class-wptrivo-gift-cards-lite.php:148
actionadmin_enqueue_scriptsincludes\class-wptrivo-gift-cards-lite.php:149
actionadmin_menuincludes\class-wptrivo-gift-cards-lite.php:151
actionadmin_menuincludes\class-wptrivo-gift-cards-lite.php:152
filterwp_insert_post_dataincludes\class-wptrivo-gift-cards-lite.php:153
actionadmin_initincludes\class-wptrivo-gift-cards-lite.php:154
filterproduct_type_selectorincludes\class-wptrivo-gift-cards-lite.php:155
actionwoocommerce_product_options_general_product_dataincludes\class-wptrivo-gift-cards-lite.php:156
filterwoocommerce_product_classincludes\class-wptrivo-gift-cards-lite.php:158
actionwoocommerce_product_options_general_product_dataincludes\class-wptrivo-gift-cards-lite.php:159
actionsave_post_productincludes\class-wptrivo-gift-cards-lite.php:160
actionwoocommerce_admin_process_product_objectincludes\class-wptrivo-gift-cards-lite.php:162
actioninitincludes\class-wptrivo-gift-cards-lite.php:165
actionwoocommerce_product_queryincludes\class-wptrivo-gift-cards-lite.php:166
actionwp_enqueue_scriptsincludes\class-wptrivo-gift-cards-lite.php:181
actionwp_enqueue_scriptsincludes\class-wptrivo-gift-cards-lite.php:182
filterwoocommerce_get_item_dataincludes\class-wptrivo-gift-cards-lite.php:184
filterwoocommerce_is_purchasableincludes\class-wptrivo-gift-cards-lite.php:185
filterwoocommerce_get_price_htmlincludes\class-wptrivo-gift-cards-lite.php:186
filterwoocommerce_product_supportsincludes\class-wptrivo-gift-cards-lite.php:187
actionwoocommerce_wptgcl_gift_card_add_to_cartincludes\class-wptrivo-gift-cards-lite.php:188
actionwoocommerce_before_add_to_cart_buttonincludes\class-wptrivo-gift-cards-lite.php:190
filterwoocommerce_add_cart_item_dataincludes\class-wptrivo-gift-cards-lite.php:192
actionwoocommerce_before_calculate_totalsincludes\class-wptrivo-gift-cards-lite.php:194
actionwoocommerce_checkout_create_order_line_itemincludes\class-wptrivo-gift-cards-lite.php:199
actionwoocommerce_order_status_completedincludes\class-wptrivo-gift-cards-lite.php:201
actionwptgcl_send_gift_card_emailincludes\class-wptrivo-gift-cards-lite.php:202
actionwoocommerce_applied_couponincludes\class-wptrivo-gift-cards-lite.php:204
actionwoocommerce_new_orderincludes\class-wptrivo-gift-cards-lite.php:206
actionbefore_woocommerce_initwptrivo-gift-cards-lite.php:52
actionplugins_loadedwptrivo-gift-cards-lite.php:85

Scheduled Events 1

wptgcl_send_gift_card_email
Maintenance & Trust

WPTrivo Gift Cards Lite Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedDec 18, 2025
PHP min version7.4
Downloads158

Community Trust

Rating0/100
Number of ratings0
Active installs0
Developer Profile

WPTrivo Gift Cards Lite Developer Profile

WpTrivo

2 plugins · 0 total installs

94
trust score
Avg Security Score
100/100
Avg Patch Time
30 days
View full developer profile
Detection Fingerprints

How We Detect WPTrivo Gift Cards Lite

Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.

Asset Fingerprints

Asset Paths
/wp-content/plugins/wptrivo-gift-cards-lite/admin/css/wptrivo-gift-cards-lite-admin.css/wp-content/plugins/wptrivo-gift-cards-lite/vendor/wptrivo-gift-cards-lite-select2.js/wp-content/plugins/wptrivo-gift-cards-lite/admin/js/wptrivo-gift-cards-lite-admin.js
Version Parameters
wptrivo-gift-cards-lite/admin/css/wptrivo-gift-cards-lite-admin.css?ver=wptrivo-gift-cards-lite-select2.js?ver=wptrivo-gift-cards-lite/admin/js/wptrivo-gift-cards-lite-admin.js?ver=

HTML / DOM Fingerprints

Data Attributes
data-product_id
JS Globals
WPTGCL_PLUGIN_DIR_URL
FAQ

Frequently Asked Questions about WPTrivo Gift Cards Lite