Samply – WooCommerce Product Sample Solution Security & Risk Analysis

wordpress.org/plugins/samply

An ultimate plugin to replicate an actual product with custom prices to order as a sample product.

0 active installs v1.0.12 PHP 5.6+ WP 5.5+ Updated Mar 21, 2025
productsamplewoocommerce
92
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Samply – WooCommerce Product Sample Solution Safe to Use in 2026?

Generally Safe

Score 92/100

Samply – WooCommerce Product Sample Solution has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 1yr ago
Risk Assessment

The 'samply' plugin v1.0.12 demonstrates a generally positive security posture with several strengths. The complete absence of known CVEs and a strong emphasis on prepared statements for SQL queries are excellent indicators. The plugin also avoids dangerous functions, external HTTP requests, and file operations, further reducing its attack surface in these areas. However, a significant concern lies in the presence of unprotected entry points, specifically two AJAX handlers that lack authentication checks. While the taint analysis found no vulnerabilities, the potential for unauthorized execution of code through these unprotected AJAX handlers warrants attention. The plugin also has a single nonce check, which is insufficient given the unprotected AJAX handlers.

Despite the lack of recorded historical vulnerabilities, the presence of unprotected AJAX endpoints represents a tangible risk that could be exploited if an attacker can trigger these actions. The proper escaping of output is decent at 80%, but a small percentage of unescaped output could still lead to cross-site scripting (XSS) vulnerabilities, although no specific flows were identified in the taint analysis. The overall security is good in terms of preventing direct code execution via SQL or external calls, but the access control on AJAX endpoints is a notable weakness. Future versions should prioritize implementing robust nonce and capability checks on all AJAX handlers to mitigate potential security risks.

Key Concerns

  • AJAX handlers without auth checks
  • Unprotected entry points (AJAX)
  • Low number of nonce checks relative to entry points
  • 20% of output not properly escaped
Vulnerabilities
None known

Samply – WooCommerce Product Sample Solution Security Vulnerabilities

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

Samply – WooCommerce Product Sample Solution Code Analysis

Dangerous Functions
0
Raw SQL Queries
0
0 prepared
Unescaped Output
40
158 escaped
Nonce Checks
1
Capability Checks
1
File Operations
0
External Requests
0
Bundled Libraries
0

Output Escaping

80% escaped198 total outputs
Data Flows
All sanitized

Data Flow Analysis

1 flows
<SamplyWooCommerce> (includes\Frontend\SamplyWooCommerce.php:0)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface
2 unprotected

Samply – WooCommerce Product Sample Solution Attack Surface

Entry Points3
Unprotected2

AJAX Handlers 2

authwp_ajax_add_to_cartincludes\functions.php:171
noprivwp_ajax_add_to_cartincludes\functions.php:172

Shortcodes 1

[samply_add_to_cart_ajax] includes\Frontend\Shortcodes\AddToCart.php:33
WordPress Hooks 50
actionplugins_loadedincludes\Admin\Main.php:47
actionadmin_initincludes\Admin\Main.php:48
actionadmin_menuincludes\Admin\Menu.php:28
filterplugin_row_metaincludes\Admin\PluginMeta.php:22
actionwoocommerce_product_write_panel_tabsincludes\Admin\SamplySettings.php:35
actionwoocommerce_product_data_panelsincludes\Admin\SamplySettings.php:36
actionwoocommerce_process_product_metaincludes\Admin\SamplySettings.php:39
actionsamply_settings_headerincludes\Admin\SamplySettings.php:40
actionsamply_settings_footerincludes\Admin\SamplySettings.php:41
actionwoocommerce_variation_options_pricingincludes\Admin\SamplySettings.php:44
actionwoocommerce_save_product_variationincludes\Admin\SamplySettings.php:45
actionrest_api_initincludes\API.php:19
actionwp_enqueue_scriptsincludes\Assets.php:19
actionadmin_enqueue_scriptsincludes\Assets.php:28
actionadmin_enqueue_scriptsincludes\Assets.php:34
actionwoocommerce_initincludes\Frontend\SamplyWooCommerce.php:25
actionwoocommerce_after_add_to_cart_buttonincludes\Frontend\SamplyWooCommerce.php:27
actionwoocommerce_after_shop_loop_itemincludes\Frontend\SamplyWooCommerce.php:28
actionwp_loadedincludes\Frontend\SamplyWooCommerce.php:29
filterwoocommerce_before_calculate_totalsincludes\Frontend\SamplyWooCommerce.php:30
filterwoocommerce_add_cart_item_dataincludes\Frontend\SamplyWooCommerce.php:31
filterwc_add_to_cart_message_htmlincludes\Frontend\SamplyWooCommerce.php:32
filterwoocommerce_add_to_cart_validationincludes\Frontend\SamplyWooCommerce.php:33
filterwoocommerce_get_cart_item_from_sessionincludes\Frontend\SamplyWooCommerce.php:34
actionwoocommerce_add_order_item_metaincludes\Frontend\SamplyWooCommerce.php:35
filterwoocommerce_locate_templateincludes\Frontend\SamplyWooCommerce.php:36
filterwoocommerce_cart_item_nameincludes\Frontend\SamplyWooCommerce.php:37
filterwoocommerce_cart_item_priceincludes\Frontend\SamplyWooCommerce.php:38
filterwoocommerce_update_cart_validationincludes\Frontend\SamplyWooCommerce.php:39
filterwoocommerce_cart_item_subtotalincludes\Frontend\SamplyWooCommerce.php:40
actionwoocommerce_before_template_partincludes\Frontend\SamplyWooCommerce.php:43
actionwoocommerce_check_cart_itemsincludes\Frontend\SamplyWooCommerce.php:44
filterwc_min_max_quantity_minmax_do_not_countincludes\Frontend\SamplyWooCommerce.php:45
filterwc_min_max_quantity_minmax_cart_excludeincludes\Frontend\SamplyWooCommerce.php:46
actionwoocommerce_checkout_order_processedincludes\Frontend\SamplyWooCommerce.php:48
actiontemplate_redirectincludes\Frontend\SamplyWooCommerce.php:49
actiondokan_product_edit_after_inventory_variantsincludes\Frontend\SamplyWooCommerce.php:50
filtersamply_priceincludes\Frontend\SamplyWooCommerce.php:51
filterwc_measurement_price_calculator_add_to_cart_validationincludes\Frontend\SamplyWooCommerce.php:66
filterwc_min_max_quantity_minimum_allowed_quantityincludes\Frontend\SamplyWooCommerce.php:71
filterwc_min_max_quantity_maximum_allowed_quantityincludes\Frontend\SamplyWooCommerce.php:72
filterwc_min_max_quantity_group_of_quantityincludes\Frontend\SamplyWooCommerce.php:73
actionwc_after_chained_add_to_cartincludes\Frontend\SamplyWooCommerce.php:79
actionwoocommerce_after_calculate_totalsincludes\functions.php:10
actionwoocommerce_after_cart_tableincludes\functions.php:15
actionwoocommerce_after_mini_cartincludes\functions.php:16
actionadmin_initincludes\functions.php:74
actionadmin_noticesincludes\functions.php:80
actionplugins_loadedincludes\Samplyi18n.php:20
actionplugins_loadedsamply.php:52
Maintenance & Trust

Samply – WooCommerce Product Sample Solution Maintenance & Trust

Maintenance Signals

WordPress version tested6.7.5
Last updatedMar 21, 2025
PHP min version5.6
Downloads2K

Community Trust

Rating100/100
Number of ratings1
Active installs0
Developer Profile

Samply – WooCommerce Product Sample Solution Developer Profile

Mohiuddin Abdul Kader

4 plugins · 110 total installs

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

How We Detect Samply – WooCommerce Product Sample Solution

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/samply/assets/js/frontend.js/wp-content/plugins/samply/assets/css/frontend.css/wp-content/plugins/samply/assets/js/admin.js/wp-content/plugins/samply/assets/css/admin.css/wp-content/plugins/samply/assets/img/samply-icon.svg
Script Paths
/wp-content/plugins/samply/assets/js/frontend.js/wp-content/plugins/samply/assets/js/admin.js
Version Parameters
samply/frontend.css?ver=samply/frontend.js?ver=samply/admin.css?ver=samply/admin.js?ver=

HTML / DOM Fingerprints

Data Attributes
data-sample-product-id
JS Globals
ajax
Shortcode Output
[samply_product_form]
FAQ

Frequently Asked Questions about Samply – WooCommerce Product Sample Solution