Non-Purchasable WooCommerce Products Security & Risk Analysis

wordpress.org/plugins/non-purchasable-woocommerce-products

Allow selected WooCommerce products to be non-purchasable, display-only products, with a custom message shown to the customer.

1K active installs v1.4 PHP + WP 3.0.1+ Updated Jun 2, 2021
non-purchasableproductproductswoocommerce
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Non-Purchasable WooCommerce Products Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 4yr ago
Risk Assessment

The 'non-purchasable-woocommerce-products' plugin v1.4 exhibits a generally strong security posture based on the provided static analysis. The absence of any identified AJAX handlers, REST API routes, shortcodes, cron events, or file operations significantly limits the potential attack surface. Furthermore, the code signals indicate robust security practices, with all SQL queries utilizing prepared statements and no dangerous functions identified. The presence of capability checks is a positive sign for access control.

However, a notable concern is the low percentage of properly escaped output (25%). This suggests that data displayed to users might not be adequately sanitized, potentially leading to cross-site scripting (XSS) vulnerabilities if user-supplied data is rendered directly. The lack of nonce checks, while not directly linked to an attack surface in this case, is a missed opportunity for strengthening security on any potential future interactive elements. The plugin's vulnerability history being completely clear is a positive indicator, suggesting a history of secure development and maintenance.

In conclusion, while the plugin benefits from a minimal attack surface and secure handling of sensitive operations like database queries, the unescaped output is a significant weakness that requires attention. Addressing this output escaping issue would greatly improve the plugin's overall security.

Key Concerns

  • Low output escaping percentage
  • No nonce checks
Vulnerabilities
None known

Non-Purchasable WooCommerce Products Security Vulnerabilities

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

Non-Purchasable WooCommerce Products Code Analysis

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

Output Escaping

25% escaped4 total outputs
Attack Surface

Non-Purchasable WooCommerce Products Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 15
actionadmin_enqueue_scriptsfunctions\admin.php:8
filterwoocommerce_product_data_tabsfunctions\admin.php:27
actionwoocommerce_product_data_panelsfunctions\admin.php:38
actionwoocommerce_process_product_metafunctions\admin.php:56
actionmanage_product_posts_custom_columnfunctions\admin.php:64
filterwoocommerce_is_purchasablefunctions\front.php:7
filterwoocommerce_product_add_to_cart_textfunctions\front.php:25
actionwoocommerce_single_product_summaryfunctions\front.php:33
actionplugins_loadednon-purchasable-woocommerce-products.php:30
actionadmin_noticesnon-purchasable-woocommerce-products.php:34
actionadmin_initnon-purchasable-woocommerce-products.php:42
filterplugin_row_metanon-purchasable-woocommerce-products.php:57
actionadmin_initnon-purchasable-woocommerce-products.php:60
filterwoocommerce_get_sections_productsoptions\options.php:4
filterwoocommerce_get_settings_productsoptions\options.php:11
Maintenance & Trust

Non-Purchasable WooCommerce Products Maintenance & Trust

Maintenance Signals

WordPress version tested5.7.15
Last updatedJun 2, 2021
PHP min version
Downloads9K

Community Trust

Rating98/100
Number of ratings10
Active installs1K
Developer Profile

Non-Purchasable WooCommerce Products Developer Profile

GuyPrimavera

3 plugins · 12K total installs

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

How We Detect Non-Purchasable WooCommerce Products

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/non-purchasable-woocommerce-products/css/npwp.css
Version Parameters
non-purchasable-woocommerce-products/css/npwp.css?ver=

HTML / DOM Fingerprints

CSS Classes
gp_npwpgp_npwp_tab
Data Attributes
data-tip
Shortcode Output
<div class="woocommerce npwpMessage"><div class="woocommerce-info" style="margin-bottom: 0px;"></div></div><style>form.variations_form .woocommerce-variation-add-to-cart { display:none!important; }</style>
FAQ

Frequently Asked Questions about Non-Purchasable WooCommerce Products