Price Per Unit for WooCommerce Security & Risk Analysis

wordpress.org/plugins/woo-price-per-unit

Price Per Unit for WooCommerce allows the user to show prices recalculated per units(weight) and do some more customization to the look of the prices

1K active installs v2.2.6 PHP 7.2+ WP 4.4+ Updated Aug 12, 2025
priceprice-customizationunit-priceweightwoocommerce
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

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

Generally Safe

Score 100/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 7mo ago
Risk Assessment

The 'woo-price-per-unit' v2.2.6 plugin exhibits a generally strong security posture, with a notable absence of known vulnerabilities and a clean taint analysis. The static analysis shows no dangerous functions, file operations, or external HTTP requests, and all SQL queries utilize prepared statements. The presence of a nonce check is also a positive indicator of security awareness.

However, there are areas for improvement. The most significant concern is the relatively low percentage of properly escaped output (53%). This could leave the plugin susceptible to Cross-Site Scripting (XSS) vulnerabilities if user-supplied data is directly rendered without sufficient sanitization. While the current static analysis did not reveal any specific exploitable flows, the high volume of unescaped output represents a latent risk.

In conclusion, the plugin benefits from a clean vulnerability history and good practices regarding database interactions and function usage. The primary weakness lies in the output escaping, which requires attention to mitigate potential XSS risks. Addressing this would significantly enhance the plugin's overall security.

Key Concerns

  • Low percentage of properly escaped output
Vulnerabilities
None known

Price Per Unit for WooCommerce Security Vulnerabilities

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

Price Per Unit for WooCommerce Code Analysis

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

Output Escaping

53% escaped75 total outputs
Attack Surface

Price Per Unit for WooCommerce Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 19
actionadmin_initwoo-price-per-unit.php:103
actioninitwoo-price-per-unit.php:108
actionbefore_woocommerce_initwoo-price-per-unit.php:112
actioncurrent_screenwoo-price-per-unit.php:114
actionwp_enqueue_scriptswoo-price-per-unit.php:116
actionadmin_enqueue_scriptswoo-price-per-unit.php:117
actionadmin_noticeswoo-price-per-unit.php:119
filterwoocommerce_get_sections_productswoo-price-per-unit.php:120
filterwoocommerce_get_settings_productswoo-price-per-unit.php:121
actionafter_setup_themewoo-price-per-unit.php:123
filterwoocommerce_product_data_tabswoo-price-per-unit.php:125
actionwoocommerce_product_data_panelswoo-price-per-unit.php:127
actionwoocommerce_process_product_metawoo-price-per-unit.php:129
filterwoocommerce_get_price_htmlwoo-price-per-unit.php:147
filterwoocommerce_cart_item_pricewoo-price-per-unit.php:148
actionwoocommerce_before_single_productwoo-price-per-unit.php:150
actionadmin_noticeswoo-price-per-unit.php:300
filterwoocommerce_get_price_htmlwoo-price-per-unit.php:918
actionadmin_noticeswoo-price-per-unit.php:966
Maintenance & Trust

Price Per Unit for WooCommerce Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedAug 12, 2025
PHP min version7.2
Downloads47K

Community Trust

Rating74/100
Number of ratings12
Active installs1K
Developer Profile

Price Per Unit for WooCommerce Developer Profile

Martin Mechura

1 plugin · 1K total installs

94
trust score
Avg Security Score
100/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/woo-price-per-unit/assets/css/woo-price-per-unit.css/wp-content/plugins/woo-price-per-unit/assets/js/woo-price-per-unit.js
Script Paths
/wp-content/plugins/woo-price-per-unit/assets/js/woo-price-per-unit.js
Version Parameters
woo-price-per-unit/assets/css/woo-price-per-unit.css?ver=woo-price-per-unit/assets/js/woo-price-per-unit.js?ver=

HTML / DOM Fingerprints

CSS Classes
mcmp-ppu-price-wrapper
HTML Comments
<!-- MCMP PPU Free -->
Data Attributes
data-ppu-unit
JS Globals
mcmp_ppu_params
FAQ

Frequently Asked Questions about Price Per Unit for WooCommerce