Product Cost Price Security & Risk Analysis

wordpress.org/plugins/product-cost-price

Simple and variation product cost price option also provide profit report.

10 active installs v1.1.0 PHP 5.2.4+ WP 5.0+ Updated Unknown
costpriceproductprofitreport
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Product Cost Price Safe to Use in 2026?

Generally Safe

Score 100/100

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

No known CVEs
Risk Assessment

The plugin "product-cost-price" v1.1.0 demonstrates a strong security posture based on the static analysis and vulnerability history provided. The absence of any AJAX handlers, REST API routes, shortcodes, or cron events, coupled with zero known CVEs, suggests a minimal attack surface and a lack of historical security issues. The code analysis also reveals good practices such as 100% prepared statements for SQL queries and a significant portion of output being properly escaped. The presence of capability checks, even if only one, is also a positive sign of security awareness.

However, there are minor areas for attention. While the overall output escaping is decent at 72%, the remaining 28% that is not properly escaped presents a potential risk for cross-site scripting (XSS) vulnerabilities if user-supplied data is involved in those unescaped outputs. Furthermore, the absence of nonce checks on any entry points, while not directly flagged as a vulnerability due to the lack of such entry points in this analysis, is a general security best practice for WordPress plugins that might introduce them in future updates. The lack of documented vulnerabilities is excellent, but it is important to maintain vigilance and continue secure coding practices.

In conclusion, this plugin appears to be relatively secure with a low risk profile due to its limited attack surface and clean vulnerability history. The primary area for potential improvement lies in ensuring all output is properly escaped, regardless of the entry point, and considering the implementation of nonce checks should the plugin's functionality evolve to include more interactive elements.

Key Concerns

  • Output escaping only 72% proper
Vulnerabilities
None known

Product Cost Price Security Vulnerabilities

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

Product Cost Price Code Analysis

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

Output Escaping

72% escaped144 total outputs
Data Flows
All sanitized

Data Flow Analysis

4 flows
output_category_widget (includes\admin\reports\class-product-cost-admin-report-profit-by-category.php:128)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Product Cost Price Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 14
filterwoocommerce_admin_reportsfunctions\add-profit-tab.php:3
actionwoocommerce_admin_order_item_headersfunctions\order-options.php:5
actionwoocommerce_admin_order_item_valuesfunctions\order-options.php:22
actionwoocommerce_checkout_update_order_metafunctions\order-options.php:102
filterwoocommerce_hidden_order_itemmetafunctions\order-options.php:124
actionwoocommerce_delete_shop_order_transientsfunctions\order-options.php:130
actionwoocommerce_product_after_variable_attributesfunctions\product-page-options.php:30
actionwoocommerce_save_product_variationfunctions\product-page-options.php:31
filtermanage_product_posts_columnsfunctions\product-page-options.php:59
actionmanage_product_posts_custom_columnfunctions\product-page-options.php:74
actionadmin_enqueue_scriptsproduct_cost_price.php:13
actionwoocommerce_product_options_general_product_dataproduct_cost_price.php:14
actionwoocommerce_process_product_metaproduct_cost_price.php:15
actionadmin_noticesproduct_cost_price.php:20
Maintenance & Trust

Product Cost Price Maintenance & Trust

Maintenance Signals

WordPress version tested5.3.21
Last updatedUnknown
PHP min version5.2.4
Downloads3K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

Product Cost Price Developer Profile

acespritech

9 plugins · 30 total installs

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

How We Detect Product Cost Price

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/product-cost-price/css/style.css
Version Parameters
product-cost-price/css/style.css?ver=

HTML / DOM Fingerprints

CSS Classes
wc-cog-valuationwc-cog-product-valuation-progresswc-cog-progressbar-sectionwc-cog-progresswc-cog-product-valuation
Data Attributes
data-filenamedata-xaxes
JS Globals
wc_cog_product_valuation
FAQ

Frequently Asked Questions about Product Cost Price