Product Discount Flyer for WooCommerce Security & Risk Analysis

wordpress.org/plugins/woo-product-discount-flyer

Plugin allows an admin to give any amount of discount in percentage to the most relevant products which user refers to. Here user can be either visito …

0 active installs v1.0.0 PHP 5.4+ WP 4.0+ Updated Aug 23, 2019
discount-flyerdiscount-on-next-orderproduct-flyerrecent-viewed-productswoocommerce
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is Product Discount Flyer for WooCommerce Safe to Use in 2026?

Generally Safe

Score 85/100

Product Discount Flyer for WooCommerce has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 6yr ago
Risk Assessment

The 'woo-product-discount-flyer' plugin version 1.0.0 exhibits a generally positive security posture based on the provided static analysis. All identified AJAX handlers include nonce checks, and there are no observable REST API routes, shortcodes, or cron events that represent potential entry points. The code also demonstrates good practices by using prepared statements for all SQL queries and a high percentage of properly escaped output. The absence of critical or high-severity taint flows further strengthens its security profile.

However, the analysis does reveal areas for improvement. The plugin lacks capability checks on its AJAX handlers, which means any authenticated user, regardless of their role or permissions, can trigger these functions. This is a significant concern as it could lead to unauthorized actions if these handlers perform sensitive operations. The presence of a bundled, potentially outdated TCPDF library also warrants attention, as older versions of bundled libraries can harbor unpatched vulnerabilities. The vulnerability history is clean, which is a positive indicator of past security development, but it doesn't mitigate the risks identified in the current static analysis.

In conclusion, while the plugin has strong fundamentals in SQL sanitization and output escaping, the absence of capability checks on AJAX handlers and the potential for an outdated bundled library represent notable security weaknesses. Addressing these would significantly improve the plugin's overall security.

Key Concerns

  • AJAX handlers without capability checks
  • Bundled outdated library (TCPDF v1.0.004)
Vulnerabilities
None known

Product Discount Flyer for WooCommerce Security Vulnerabilities

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

Product Discount Flyer for WooCommerce Code Analysis

Dangerous Functions
0
Raw SQL Queries
0
0 prepared
Unescaped Output
16
105 escaped
Nonce Checks
6
Capability Checks
0
File Operations
32
External Requests
2
Bundled Libraries
1

Bundled Libraries

TCPDF1.0.004

Output Escaping

87% escaped121 total outputs
Data Flows
All sanitized

Data Flow Analysis

2 flows
wooecommerceflyer_on_mail (includes\flyer-column.php:67)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Product Discount Flyer for WooCommerce Attack Surface

Entry Points6
Unprotected0

AJAX Handlers 6

authwp_ajax_wooecommerceflyer_on_mailincludes\flyer-column.php:65
noprivwp_ajax_wooecommerceflyer_on_mailincludes\flyer-column.php:66
authwp_ajax_wooecommerceflyer_store_visited_productswoocommerce-flyer.php:166
noprivwp_ajax_wooecommerceflyer_store_visited_productswoocommerce-flyer.php:167
authwp_ajax_wooecommerceflyer_store_visited_products_cartwoocommerce-flyer.php:176
noprivwp_ajax_wooecommerceflyer_store_visited_products_cartwoocommerce-flyer.php:177
WordPress Hooks 19
filtermanage_edit-shop_order_columnsincludes\flyer-column.php:7
actionmanage_shop_order_posts_custom_columnincludes\flyer-column.php:14
actionphpmailer_initincludes\flyer-column.php:180
actioninitincludes\flyer-setting.php:57
actionadmin_enqueue_scriptswoocommerce-flyer.php:43
actionadmin_headwoocommerce-flyer.php:51
actionwp_enqueue_scriptswoocommerce-flyer.php:58
actionadmin_menuwoocommerce-flyer.php:73
actionwoocommerce_thankyouwoocommerce-flyer.php:75
actiontemplate_redirectwoocommerce-flyer.php:195
actionwoocommerce_before_shop_loop_item_titlewoocommerce-flyer.php:197
filterwoocommerce_get_price_htmlwoocommerce-flyer.php:224
filterwoocommerce_cart_item_pricewoocommerce-flyer.php:225
filterwoocommerce_cart_item_subtotalwoocommerce-flyer.php:226
filterwoocommerce_cart_subtotalwoocommerce-flyer.php:227
filterwoocommerce_cart_totalwoocommerce-flyer.php:228
filterwoocommerce_add_cart_item_datawoocommerce-flyer.php:258
actionwoocommerce_before_calculate_totalswoocommerce-flyer.php:272
actioninitwoocommerce-flyer.php:302
Maintenance & Trust

Product Discount Flyer for WooCommerce Maintenance & Trust

Maintenance Signals

WordPress version tested5.2.24
Last updatedAug 23, 2019
PHP min version5.4
Downloads897

Community Trust

Rating0/100
Number of ratings0
Active installs0
Developer Profile

Product Discount Flyer for WooCommerce Developer Profile

Codemenschen

3 plugins · 1K total installs

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

How We Detect Product Discount Flyer 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/woo-product-discount-flyer/assets/css/admin.css/wp-content/plugins/woo-product-discount-flyer/assets/js/flyer-admin.js/wp-content/plugins/woo-product-discount-flyer/assets/js/frontend.js
Version Parameters
woo-product-discount-flyer/assets/js/frontend.js?ver=1.0.0

HTML / DOM Fingerprints

JS Globals
ajax_object
FAQ

Frequently Asked Questions about Product Discount Flyer for WooCommerce