Donation or Tip For WooCommerce Security & Risk Analysis

wordpress.org/plugins/donation-or-tip-for-woocommerce

Add a customizable donation or tip field to your WooCommerce cart and checkout page. Support fixed amounts, percentage tips, and custom input — no cod …

70 active installs v1.0 PHP 5.0+ WP 5.0+ Updated Mar 3, 2026
checkout-donationdonation-button-woocommercetip-jar-woocommercewoocommerce-donationwoocommerce-tip
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is Donation or Tip For WooCommerce Safe to Use in 2026?

Generally Safe

Score 100/100

Donation or Tip For WooCommerce has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 1mo ago
Risk Assessment

The "donation-or-tip-for-woocommerce" plugin, version 1.0, exhibits a mixed security posture. On the positive side, it demonstrates strong practices regarding database interactions, with 100% of SQL queries utilizing prepared statements, and a commendable 96% of outputs being properly escaped. The absence of known CVEs and a clean vulnerability history are also significant strengths, suggesting a generally stable codebase. However, a notable concern arises from the substantial attack surface exposed through AJAX handlers. Out of 12 AJAX handlers, 10 lack authentication checks, presenting a significant opportunity for unauthorized actions if malicious input can be crafted.

The static analysis reveals no critical or high-severity issues in taint analysis, and the absence of dangerous functions or direct file operations is reassuring. The low number of nonce checks (2) is insufficient given the number of unprotected AJAX endpoints. While the lack of capability checks on these endpoints is the primary concern, the absence of nonce checks further exacerbates the risk by making it easier to trigger these unprotected handlers. The plugin's vulnerability history is clean, which is a good sign, but it doesn't negate the immediate risks identified in the current static analysis.

In conclusion, while the plugin avoids common pitfalls like raw SQL and unescaped output, the presence of numerous unprotected AJAX endpoints is a critical weakness that requires immediate attention. The clean vulnerability history is a positive indicator of past security efforts, but the current version's attack surface is a significant risk. Addressing the authentication and authorization on AJAX handlers should be the top priority to improve its overall security.

Key Concerns

  • Unprotected AJAX handlers
  • Low number of nonce checks
  • No capability checks on AJAX
Vulnerabilities
None known

Donation or Tip For WooCommerce Security Vulnerabilities

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

Donation or Tip For WooCommerce Code Analysis

Dangerous Functions
0
Raw SQL Queries
0
0 prepared
Unescaped Output
11
245 escaped
Nonce Checks
2
Capability Checks
0
File Operations
0
External Requests
0
Bundled Libraries
0

Output Escaping

96% escaped256 total outputs
Data Flows
All sanitized

Data Flow Analysis

2 flows
DOTFW_update_settings_options (includes\admin.php:251)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface
10 unprotected

Donation or Tip For WooCommerce Attack Surface

Entry Points14
Unprotected10

AJAX Handlers 12

authwp_ajax_DOTFW_update_donation_priceincludes\frontend-ajax.php:3
noprivwp_ajax_DOTFW_update_donation_priceincludes\frontend-ajax.php:4
authwp_ajax_DOTFW_remove_donation_priceincludes\frontend-ajax.php:5
noprivwp_ajax_DOTFW_remove_donation_priceincludes\frontend-ajax.php:6
authwp_ajax_DOTFW_custom_donation_valueincludes\frontend-ajax.php:7
noprivwp_ajax_DOTFW_custom_donation_valueincludes\frontend-ajax.php:8
authwp_ajax_DOTFW_fixed_donation_valueincludes\frontend-ajax.php:9
noprivwp_ajax_DOTFW_fixed_donation_valueincludes\frontend-ajax.php:10
authwp_ajax_DOTFW_dropdown_style_donation_valueincludes\frontend-ajax.php:11
noprivwp_ajax_DOTFW_dropdown_style_donation_valueincludes\frontend-ajax.php:12
authwp_ajax_dotfw_set_donationincludes\frontend.php:51
noprivwp_ajax_dotfw_set_donationincludes\frontend.php:52

Shortcodes 2

[DOTFW_block_donation] includes\frontend.php:369
[DOTFW_block_donation_total] includes\frontend.php:380
WordPress Hooks 23
actionwp_enqueue_scriptsdonation-or-tip-for-woocommerce-main.php:30
actionadmin_enqueue_scriptsdonation-or-tip-for-woocommerce-main.php:97
actionadmin_menuincludes\admin.php:4
actioninitincludes\admin.php:250
actioninitincludes\frontend.php:4
actionwoocommerce_before_cartincludes\frontend.php:13
actionDOTFW_before_woocommerce/cartincludes\frontend.php:14
actionwoocommerce_cart_collateralsincludes\frontend.php:17
actionDOTFW_after_woocommerce/cart-line-items-blockincludes\frontend.php:18
actionwoocommerce_after_cartincludes\frontend.php:21
actionDOTFW_after_woocommerce/cartincludes\frontend.php:22
actionwoocommerce_before_checkout_formincludes\frontend.php:29
actionDOTFW_before_woocommerce/checkoutincludes\frontend.php:30
actionwoocommerce_checkout_after_order_reviewincludes\frontend.php:33
actionDOTFW_after_woocommerce/checkout-order-summary-blockincludes\frontend.php:34
actionwoocommerce_after_checkout_billing_formincludes\frontend.php:37
actionDOTFW_after_woocommerce/checkout-billing-address-blockincludes\frontend.php:38
actionwoocommerce_after_checkout_formincludes\frontend.php:41
actionDOTFW_after_woocommerce/checkoutincludes\frontend.php:42
actionwoocommerce_checkout_create_orderincludes\frontend.php:46
actionwoocommerce_store_api_checkout_update_order_metaincludes\frontend.php:47
filterrender_blockincludes\frontend.php:403
actionwoocommerce_cart_calculate_feesincludes\frontend.php:450
Maintenance & Trust

Donation or Tip For WooCommerce Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedMar 3, 2026
PHP min version5.0
Downloads1K

Community Trust

Rating100/100
Number of ratings2
Active installs70
Developer Profile

Donation or Tip For WooCommerce Developer Profile

howdytheme

18 plugins · 5K total installs

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

How We Detect Donation or Tip 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/donation-or-tip-for-woocommerce/public/js/design.js/wp-content/plugins/donation-or-tip-for-woocommerce/build/frontend/index.js/wp-content/plugins/donation-or-tip-for-woocommerce/src/assets/css/front-design.css/wp-content/plugins/donation-or-tip-for-woocommerce/admin/js/wp-color-picker-alpha.js/wp-content/plugins/donation-or-tip-for-woocommerce/admin/css/design.css/wp-content/plugins/donation-or-tip-for-woocommerce/admin/js/design.js
Script Paths
/wp-content/plugins/donation-or-tip-for-woocommerce/public/js/design.js/wp-content/plugins/donation-or-tip-for-woocommerce/build/frontend/index.js/wp-content/plugins/donation-or-tip-for-woocommerce/admin/js/wp-color-picker-alpha.js/wp-content/plugins/donation-or-tip-for-woocommerce/admin/js/design.js
Version Parameters
/wp-content/plugins/donation-or-tip-for-woocommerce/public/js/design.js?ver=/wp-content/plugins/donation-or-tip-for-woocommerce/public/css/design.css?ver=/wp-content/plugins/donation-or-tip-for-woocommerce/build/frontend/index.js?ver=/wp-content/plugins/donation-or-tip-for-woocommerce/src/assets/css/front-design.css?ver=/wp-content/plugins/donation-or-tip-for-woocommerce/admin/js/wp-color-picker-alpha.js?ver=/wp-content/plugins/donation-or-tip-for-woocommerce/admin/css/design.css?ver=/wp-content/plugins/donation-or-tip-for-woocommerce/admin/js/design.js?ver=

HTML / DOM Fingerprints

CSS Classes
dotfw_donation_fielddotfw_donation_field_wrapper
Data Attributes
data-dotfw-nonce
JS Globals
dot_pricesDOTFW_DATA
FAQ

Frequently Asked Questions about Donation or Tip For WooCommerce