Products Purchase Price for WooCommerce Security & Risk Analysis

wordpress.org/plugins/products-purchase-price-for-woocommerce

Free version of Purchase Price plug-in for WooCommerce.

70 active installs v1.0.4 PHP + WP 4.0.1+ Updated Aug 5, 2016
costpriceproductspurchasewoocommerce
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Products Purchase Price for WooCommerce Safe to Use in 2026?

Generally Safe

Score 85/100

Products Purchase Price for WooCommerce has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 9yr ago
Risk Assessment

The static analysis of the "products-purchase-price-for-woocommerce" plugin v1.0.4 reveals a very limited attack surface, with no identified AJAX handlers, REST API routes, shortcodes, or cron events. This is a positive indicator of a well-contained plugin. Furthermore, the absence of dangerous functions, file operations, and external HTTP requests is reassuring. The code signals also show that all SQL queries utilize prepared statements, which is a strong security practice against SQL injection vulnerabilities. However, a significant concern is that 100% of the identified output streams are not properly escaped. This lack of output escaping poses a high risk of Cross-Site Scripting (XSS) vulnerabilities, allowing malicious scripts to be injected into the user interface.

The plugin's vulnerability history is clean, with no recorded CVEs. This, combined with the absence of taint flows, suggests that in its current state, there are no known critical or high-severity vulnerabilities. However, the lack of capability checks and nonce checks, while not leading to direct deductions due to the zero attack surface, are generally considered important security mechanisms that are missing. The absence of these checks on potentially user-facing functionalities (even if not immediately apparent in this analysis) could become a risk if the plugin's functionality were to expand or be used in unexpected ways.

In conclusion, the plugin demonstrates good practices in limiting its attack surface and securing its database interactions. The primary weakness lies in the complete lack of output escaping, creating a significant XSS risk. While the vulnerability history is clean, the absence of certain standard security checks leaves room for potential issues. Addressing the unescaped output is the most critical next step for improving this plugin's security posture.

Key Concerns

  • Outputs are not properly escaped
Vulnerabilities
None known

Products Purchase Price for WooCommerce Security Vulnerabilities

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

Products Purchase Price for WooCommerce Code Analysis

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

Output Escaping

0% escaped2 total outputs
Attack Surface

Products Purchase Price for WooCommerce Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 9
actionwoocommerce_product_quick_edit_endwoocommerce-purchase-price.php:31
actionwoocommerce_product_quick_edit_savewoocommerce-purchase-price.php:32
actionmanage_product_posts_custom_columnwoocommerce-purchase-price.php:33
actionadmin_enqueue_scriptswoocommerce-purchase-price.php:34
actionwoocommerce_product_options_general_product_datawoocommerce-purchase-price.php:38
actionwoocommerce_process_product_metawoocommerce-purchase-price.php:40
actionwoocommerce_product_after_variable_attributeswoocommerce-purchase-price.php:44
actionwoocommerce_save_product_variationwoocommerce-purchase-price.php:46
actionplugins_loadedwoocommerce-purchase-price.php:49
Maintenance & Trust

Products Purchase Price for WooCommerce Maintenance & Trust

Maintenance Signals

WordPress version tested4.5.33
Last updatedAug 5, 2016
PHP min version
Downloads4K

Community Trust

Rating74/100
Number of ratings3
Active installs70
Developer Profile

Products Purchase Price for WooCommerce Developer Profile

Softedge

1 plugin · 70 total installs

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

How We Detect Products Purchase Price 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/products-purchase-price-for-woocommerce/assets/js/wc_purchase_price_quick_edit.js

HTML / DOM Fingerprints

CSS Classes
show_if_simpleshow_if_externalform-row-first
Data Attributes
data_type="price"id="_purchase_price"name="_purchase_price"class="text wc_input_price"id="variable_purchase_pricename="variable_purchase_price
FAQ

Frequently Asked Questions about Products Purchase Price for WooCommerce