First Order Discount Woocommerce Security & Risk Analysis

wordpress.org/plugins/first-order-discount-woocommerce

First Order Discount Woocommerce allows admin to offer discount to their customers on their first order with various conditions.

1K active installs v1.23 PHP + WP 4.0+ Updated Aug 21, 2025
discountfirst-order-discountfree-giftorder-discountwoocommerce-discount
100
A · Safe
CVEs total1
Unpatched0
Last CVEDec 6, 2023
Download
Safety Verdict

Is First Order Discount Woocommerce Safe to Use in 2026?

Generally Safe

Score 100/100

First Order Discount Woocommerce has a strong security track record. Known vulnerabilities have been patched promptly.

1 known CVELast CVE: Dec 6, 2023Updated 7mo ago
Risk Assessment

The plugin 'first-order-discount-woocommerce' v1.23 presents a mixed security posture. On one hand, it demonstrates good practices by utilizing prepared statements for all SQL queries and implementing nonce and capability checks. The absence of a significant attack surface, especially in terms of unprotected AJAX handlers, REST API routes, and shortcodes, is a positive indicator. However, the presence of the `unserialize` function is a significant concern, as it can lead to object injection vulnerabilities if not handled with extreme care, especially when dealing with user-supplied input. The plugin also shows a concerning rate of improperly escaped output, suggesting potential cross-site scripting (XSS) risks.

The vulnerability history reveals one known medium-severity CVE, which was recently addressed. While there are no currently unpatched vulnerabilities, the pattern of past issues, particularly the mention of Cross-Site Request Forgery (CSRF), suggests that the plugin has had security weaknesses in the past that require ongoing vigilance. The low number of identified vulnerability types and the lack of critical taint flows are positive, but the underlying risks associated with `unserialize` and poor output escaping cannot be ignored.

In conclusion, while the plugin has strengths in its handling of database queries and its limited attack surface, the potential for `unserialize` related vulnerabilities and the prevalence of unescaped output are significant weaknesses. The plugin's past vulnerability history, though currently patched, reinforces the need for careful monitoring and potential future audits to ensure robust security.

Key Concerns

  • Dangerous function 'unserialize' found
  • Low percentage of properly escaped output
  • 1 medium severity CVE in history
Vulnerabilities
1

First Order Discount Woocommerce Security Vulnerabilities

CVEs by Year

1 CVE in 2023
2023
Patched Has unpatched

Severity Breakdown

Medium
1

1 total CVE

CVE-2023-49843medium · 4.3Cross-Site Request Forgery (CSRF)

First Order Discount Woocommerce <= 1.21 - Cross-Site Request Forgery

Dec 6, 2023 Patched in 1.22 (58d)
Code Analysis
Analyzed Mar 16, 2026

First Order Discount Woocommerce Code Analysis

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

Dangerous Functions Found

unserialize$arrData = unserialize(get_option('_fodw_configuration'));fodw-admin.php:20
unserialize$arrData = unserialize($strData);fodw-coupon.php:19
unserialize$plugins = unserialize( $response['body'] );fodwp-menu.php:55

Bundled Libraries

Select2

SQL Query Safety

100% prepared2 total queries

Output Escaping

22% escaped27 total outputs
Attack Surface

First Order Discount Woocommerce Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 4
actionadmin_enqueue_scriptsfodw-admin.php:148
actionwoocommerce_before_cartfodw-coupon.php:6
actionwp_headfodw-coupon.php:8
actionadmin_menufodwp-menu.php:7
Maintenance & Trust

First Order Discount Woocommerce Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedAug 21, 2025
PHP min version
Downloads45K

Community Trust

Rating96/100
Number of ratings18
Active installs1K
Developer Profile

First Order Discount Woocommerce Developer Profile

Vidish

6 plugins · 8K total installs

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

How We Detect First Order Discount Woocommerce

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/first-order-discount-woocommerce/assets/css/admin_style.css/wp-content/plugins/first-order-discount-woocommerce/assets/js/admin_script.js
Script Paths
/wp-content/plugins/first-order-discount-woocommerce/assets/js/admin_script.js
Version Parameters
first-order-discount-woocommerce/assets/css/admin_style.css?ver=first-order-discount-woocommerce/assets/js/admin_script.js?ver=

HTML / DOM Fingerprints

CSS Classes
wooextend_helptooltiptooltiptext
HTML Comments
<!-- Start of WordPress.com v IP address (e.g. 116.202.163.180) --><!-- End of WordPress.com v IP address --><!-- First Order Discount Woocommerce Configuration --><!-- Select free product -->+6 more
Data Attributes
id="rdoFreeShipping"id="rdoFreeProduct"id="rdoFixedDisc"id="rdoPerDisc"id="rdoDisable"id="selFreeProduct"+5 more
JS Globals
kofiwidget2.initkofiwidget2.draw
FAQ

Frequently Asked Questions about First Order Discount Woocommerce