WPC Free Gift Coupons for WooCommerce Security & Risk Analysis

wordpress.org/plugins/wpc-free-gift-coupons

WPC Free Gift Coupons for WooCommerce offers a new way to give away free gifts to customers during special sale occasions.

400 active installs v1.1.4 PHP + WP 4.0+ Updated Dec 12, 2025
coupongiftgift-couponwoocommercewpc
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is WPC Free Gift Coupons for WooCommerce Safe to Use in 2026?

Generally Safe

Score 100/100

WPC Free Gift Coupons for WooCommerce 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 "wpc-free-gift-coupons" plugin v1.1.4 presents a generally strong security posture based on the provided static analysis. The absence of any recorded vulnerabilities or CVEs in its history is a positive indicator. The code demonstrates good practices with all SQL queries using prepared statements, a high percentage of properly escaped output, and the presence of nonce and capability checks on its AJAX handlers. There are no shortcodes, cron events, or REST API routes, which reduces the overall attack surface considerably.

However, the presence of three instances of the `unserialize` function is a notable concern. While no critical or high-severity taint flows were identified in this analysis, the `unserialize` function is inherently risky when handling untrusted input. If user-controlled data is ever passed to `unserialize` without proper validation and sanitization, it could lead to object injection vulnerabilities. The plugin also makes external HTTP requests, which, while not explicitly flagged as risky here, can sometimes be a vector for certain types of attacks if not handled carefully.

In conclusion, the plugin is well-secured in many regards, particularly concerning data persistence and input handling for SQL. The primary area of concern lies with the potential for insecure deserialization due to the use of `unserialize`. Given the lack of historical vulnerabilities and the robust handling of other potential attack vectors, the overall risk is currently low, but the `unserialize` usage warrants careful monitoring and potential remediation in future versions.

Key Concerns

  • Use of unserialize function
  • External HTTP requests
Vulnerabilities
None known

WPC Free Gift Coupons for WooCommerce Security Vulnerabilities

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

WPC Free Gift Coupons for WooCommerce Code Analysis

Dangerous Functions
3
Raw SQL Queries
0
0 prepared
Unescaped Output
8
100 escaped
Nonce Checks
8
Capability Checks
3
File Operations
0
External Requests
3
Bundled Libraries
0

Dangerous Functions Found

unserialize$plugins = unserialize( $response['body'] );includes\dashboard\wpc-dashboard.php:111
unserialize$plugins = unserialize( $response['body'] );includes\dashboard\wpc-dashboard.php:189
unserialize$plugins = unserialize( $response['body'] );includes\kit\wpc-kit.php:98

Output Escaping

93% escaped108 total outputs
Data Flows
All sanitized

Data Flow Analysis

3 flows
ajax_export (includes\dashboard\wpc-dashboard.php:225)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

WPC Free Gift Coupons for WooCommerce Attack Surface

Entry Points5
Unprotected0

AJAX Handlers 5

authwp_ajax_wpc_get_pluginsincludes\dashboard\wpc-dashboard.php:19
authwp_ajax_wpc_get_suggestionincludes\dashboard\wpc-dashboard.php:20
authwp_ajax_wpc_exportincludes\dashboard\wpc-dashboard.php:21
authwp_ajax_wpc_importincludes\dashboard\wpc-dashboard.php:22
authwp_ajax_wpc_get_essential_kitincludes\kit\wpc-kit.php:22
WordPress Hooks 35
actioninitincludes\class-backend.php:16
actionadmin_initincludes\class-backend.php:19
actionadmin_menuincludes\class-backend.php:20
actionadmin_enqueue_scriptsincludes\class-backend.php:21
filterplugin_action_linksincludes\class-backend.php:22
filterplugin_row_metaincludes\class-backend.php:23
filterwoocommerce_coupon_data_tabsincludes\class-backend.php:26
actionwoocommerce_coupon_data_panelsincludes\class-backend.php:27
actionpost_updatedincludes\class-backend.php:29
filterwoocommerce_coupon_discount_typesincludes\class-backend.php:30
actionwpincludes\class-frontend.php:27
actionwpincludes\class-frontend.php:28
actionwpincludes\class-frontend.php:29
actionwoocommerce_after_cart_tableincludes\class-frontend.php:31
filterwoocommerce_product_get_priceincludes\class-frontend.php:33
filterwoocommerce_product_variation_get_priceincludes\class-frontend.php:34
actionwoocommerce_after_cart_item_nameincludes\class-frontend.php:35
filterwoocommerce_shortcode_products_queryincludes\class-frontend.php:38
filterwoocommerce_loop_add_to_cart_argsincludes\class-frontend.php:41
filterwoocommerce_coupon_get_items_to_validateincludes\class-frontend.php:44
filterwoocommerce_add_to_cart_validationincludes\class-frontend.php:45
filterwoocommerce_add_cart_item_dataincludes\class-frontend.php:46
filterwoocommerce_cart_item_priceincludes\class-frontend.php:47
filterwoocommerce_cart_item_subtotalincludes\class-frontend.php:48
filterwoocommerce_cart_get_subtotalincludes\class-frontend.php:49
filterwoocommerce_get_discounted_priceincludes\class-frontend.php:50
filterwoocommerce_checkout_cart_item_quantityincludes\class-frontend.php:53
actionwoocommerce_checkout_create_order_line_itemincludes\class-frontend.php:56
actionadmin_enqueue_scriptsincludes\dashboard\wpc-dashboard.php:17
actionadmin_menuincludes\dashboard\wpc-dashboard.php:18
actionbefore_woocommerce_initincludes\hpos.php:7
actionadmin_enqueue_scriptsincludes\kit\wpc-kit.php:20
actionadmin_menuincludes\kit\wpc-kit.php:21
actionplugins_loadedwpc-free-gift-coupons.php:35
actionadmin_noticeswpc-free-gift-coupons.php:39
Maintenance & Trust

WPC Free Gift Coupons for WooCommerce Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedDec 12, 2025
PHP min version
Downloads7K

Community Trust

Rating60/100
Number of ratings4
Active installs400
Developer Profile

WPC Free Gift Coupons for WooCommerce Developer Profile

WPClever

71 plugins · 441K total installs

87
trust score
Avg Security Score
99/100
Avg Patch Time
68 days
View full developer profile
Detection Fingerprints

How We Detect WPC Free Gift Coupons for WooCommerce

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/wpc-free-gift-coupons/assets/css/backend.css/wp-content/plugins/wpc-free-gift-coupons/assets/css/frontend.css/wp-content/plugins/wpc-free-gift-coupons/assets/js/backend.js/wp-content/plugins/wpc-free-gift-coupons/assets/js/frontend.js
Script Paths
/wp-content/plugins/wpc-free-gift-coupons/assets/js/backend.js/wp-content/plugins/wpc-free-gift-coupons/assets/js/frontend.js
Version Parameters
wpc-free-gift-coupons/assets/css/backend.css?ver=wpc-free-gift-coupons/assets/css/frontend.css?ver=wpc-free-gift-coupons/assets/js/backend.js?ver=wpc-free-gift-coupons/assets/js/frontend.js?ver=

HTML / DOM Fingerprints

CSS Classes
wpclever_settings_pagewpclever_settings_page_headerwpclever_settings_page_header_logowpclever_settings_page_header_textwpclever_settings_page_titlewpclever_settings_page_navwpclever_settings_page_content
HTML Comments
<!-- WPC Free Gift Coupons for WooCommerce --><!-- Generated by WPClever -->
Data Attributes
data-coupon-iddata-coupon-codedata-gift-iddata-product-iddata-quantity
JS Globals
WPCleverWpcfgFrontendwpcfg_params
Shortcode Output
[wpc-gift-coupon]
FAQ

Frequently Asked Questions about WPC Free Gift Coupons for WooCommerce