Price Per Unit For WooCommerce Security & Risk Analysis

wordpress.org/plugins/price-per-unit-for-woocommerce

Sell product price per unit with the easiest to set up and more configurable Plugin with WooCoommerce.

50 active installs v1.3.3 PHP 7.2+ WP 4.0+ Updated Aug 31, 2024
arealegnthpriceweightwoocommerce
92
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Price Per Unit For WooCommerce Safe to Use in 2026?

Generally Safe

Score 92/100

Price Per Unit For WooCommerce 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 'price-per-unit-for-woocommerce' plugin, version 1.3.3, exhibits a generally strong security posture based on the provided static analysis and vulnerability history. The absence of known CVEs and the plugin's focus on secure coding practices like prepared SQL statements and a good percentage of output escaping are positive indicators. The plugin also demonstrates awareness of WordPress security through the inclusion of nonce and capability checks on its entry points, and the attack surface appears to be well-protected.

However, there are minor areas for improvement. While the percentage of properly escaped output is good at 80%, the remaining 20% could potentially lead to cross-site scripting (XSS) vulnerabilities if the unescaped data is user-controllable or sourced from untrusted inputs. Taint analysis revealed no critical or high-severity issues, which is reassuring, but the limited scope of analysis (1 flow) means this is not exhaustive. The plugin's vulnerability history is clean, suggesting a history of secure development, but this also means there's less data to infer patterns of past security weaknesses.

Overall, this plugin appears to be relatively secure, with good adherence to core WordPress security principles. The main concern lies in the unescaped output, which, while not critical in this analysis, warrants attention. The clean vulnerability history is a significant strength.

Key Concerns

  • Unescaped output found (20% of 114 outputs)
Vulnerabilities
None known

Price Per Unit For WooCommerce Security Vulnerabilities

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

Price Per Unit For WooCommerce Code Analysis

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

Output Escaping

80% escaped114 total outputs
Data Flows
All sanitized

Data Flow Analysis

1 flows
<class-price-per-unit-for-woocommerce-public> (public\class-price-per-unit-for-woocommerce-public.php:0)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Price Per Unit For WooCommerce Attack Surface

Entry Points5
Unprotected0

AJAX Handlers 4

authwp_ajax_get_slider_valuepublic\class-price-per-unit-for-woocommerce-public.php:75
noprivwp_ajax_get_slider_valuepublic\class-price-per-unit-for-woocommerce-public.php:79
authwp_ajax_get_slider_value_for_simple_productpublic\class-price-per-unit-for-woocommerce-public.php:84
noprivwp_ajax_get_slider_value_for_simple_productpublic\class-price-per-unit-for-woocommerce-public.php:88

Shortcodes 1

[ap-range-slider] public\class-price-per-unit-for-woocommerce-public.php:55
WordPress Hooks 19
actionadmin_menuadmin\class-price-per-unit-for-woocommerce-admin.php:62
filterrange_meta_boxes_pro_meta_info_ranger_slider_addressadmin\class-price-per-unit-for-woocommerce-admin.php:63
actionap_display_function_url_exampleCustom-Metabox\class-ap-custom-metabox-apply.php:16
actionadd_meta_boxesCustom-Metabox\class-ap-custom-metabox.php:41
actionsave_postCustom-Metabox\class-ap-custom-metabox.php:42
actionadmin_enqueue_scriptsCustom-Metabox\class-ap-custom-metabox.php:43
actionplugins_loadedincludes\class-price-per-unit-for-woocommerce.php:145
actionadmin_enqueue_scriptsincludes\class-price-per-unit-for-woocommerce.php:160
actionadmin_enqueue_scriptsincludes\class-price-per-unit-for-woocommerce.php:161
actionwp_enqueue_scriptsincludes\class-price-per-unit-for-woocommerce.php:176
actionwp_enqueue_scriptsincludes\class-price-per-unit-for-woocommerce.php:177
actionwoocommerce_before_calculate_totalspublic\class-price-per-unit-for-woocommerce-public.php:56
actionwoocommerce_before_add_to_cart_buttonpublic\class-price-per-unit-for-woocommerce-public.php:57
filterwoocommerce_product_tabspublic\class-price-per-unit-for-woocommerce-public.php:60
filterwoocommerce_add_cart_item_datapublic\class-price-per-unit-for-woocommerce-public.php:64
actionwoocommerce_checkout_create_order_line_itempublic\class-price-per-unit-for-woocommerce-public.php:65
actionwoocommerce_checkout_create_order_line_itempublic\class-price-per-unit-for-woocommerce-public.php:72
filterwoocommerce_get_item_datapublic\class-price-per-unit-for-woocommerce-public.php:73
filterwoocommerce_get_price_htmlpublic\class-price-per-unit-for-woocommerce-public.php:74
Maintenance & Trust

Price Per Unit For WooCommerce Maintenance & Trust

Maintenance Signals

WordPress version tested6.6.5
Last updatedAug 31, 2024
PHP min version7.2
Downloads4K

Community Trust

Rating100/100
Number of ratings2
Active installs50
Developer Profile

Price Per Unit For WooCommerce Developer Profile

apurbajnu

1 plugin · 50 total installs

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

How We Detect Price Per Unit 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/price-per-unit-for-woocommerce/css/ppu_admin_style.css/wp-content/plugins/price-per-unit-for-woocommerce/js/ppu_admin_script.js/wp-content/plugins/price-per-unit-for-woocommerce/js/ppu_public_script.js/wp-content/plugins/price-per-unit-for-woocommerce/css/ppu_public_style.css
Script Paths
/wp-content/plugins/price-per-unit-for-woocommerce/js/ppu_admin_script.js/wp-content/plugins/price-per-unit-for-woocommerce/js/ppu_public_script.js
Version Parameters
price-per-unit-for-woocommerce/css/ppu_admin_style.css?ver=price-per-unit-for-woocommerce/js/ppu_admin_script.js?ver=price-per-unit-for-woocommerce/js/ppu_public_script.js?ver=price-per-unit-for-woocommerce/css/ppu_public_style.css?ver=

HTML / DOM Fingerprints

CSS Classes
ppu_product_inputppu_price_wrapperppu_unit_price_displayppu_pricing_datappu_measurement_displayppu_total_price_wrapper
Data Attributes
data-ppu-measurement-typedata-ppu-unitdata-ppu-price-per-unitdata-ppu-pricedata-ppu-product-iddata-ppu-active+1 more
JS Globals
ppu_params
FAQ

Frequently Asked Questions about Price Per Unit For WooCommerce