Preview Calculator for WooCommerce Security & Risk Analysis

wordpress.org/plugins/wc-preview-calculator

WC Preview Calculator lets you create custom WooCommerce calculators with deductions, markups, and cart subtotal options—perfect for cost breakdowns.

0 active installs v1.1.1 PHP 7.4+ WP 5.5+ Updated Jul 3, 2025
cart-subtotalfinanceprice-calculatorwoocommerce
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is Preview Calculator for WooCommerce Safe to Use in 2026?

Generally Safe

Score 100/100

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

No known CVEs Updated 9mo ago
Risk Assessment

Based on the provided static analysis and vulnerability history, the 'wc-preview-calculator' plugin version 1.1.1 exhibits a generally strong security posture. The absence of any identified AJAX handlers, REST API routes, shortcodes, or cron events significantly limits the plugin's attack surface, with no entry points found to be unprotected. The code analysis also shows excellent practices regarding dangerous functions, SQL queries (all using prepared statements), file operations, and external HTTP requests. Furthermore, the high percentage of properly escaped output suggests good attention to preventing cross-site scripting (XSS) vulnerabilities.

While the plugin's code appears to be well-secured in terms of potential injection or direct manipulation, the complete lack of nonce and capability checks across all potential (though absent) entry points is a notable concern. This implies that if any new entry points were to be introduced in future versions, they might lack essential authorization and security verification mechanisms by default. The vulnerability history is also entirely clean, with no past CVEs reported, which is a positive indicator of the plugin's past security development. However, this clean history, combined with the absence of checks, means there's no historical data to suggest how the plugin would handle security issues if they arose.

In conclusion, 'wc-preview-calculator' v1.1.1 demonstrates a robust foundation with a minimal attack surface and secure coding practices for the features analyzed. The primary weakness lies in the complete absence of authorization checks (nonces and capabilities), which, while not directly exploitable in this version due to the lack of entry points, represents a potential future risk. The lack of any historical vulnerabilities is a strength, but it also means the plugin has not been tested against security flaws in practice.

Key Concerns

  • Missing nonce checks
  • Missing capability checks
Vulnerabilities
None known

Preview Calculator for WooCommerce Security Vulnerabilities

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

Preview Calculator for WooCommerce Code Analysis

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

Output Escaping

98% escaped41 total outputs
Attack Surface

Preview Calculator for WooCommerce Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 6
actionadmin_menuincludes\class-wc-preview-calculator-admin.php:6
actionadmin_initincludes\class-wc-preview-calculator-admin.php:7
actionadmin_enqueue_scriptsincludes\class-wc-preview-calculator-admin.php:8
actioninitwc-preview-calculator.php:38
actiontemplate_redirectwc-preview-calculator.php:46
actionwp_enqueue_scriptswc-preview-calculator.php:56
Maintenance & Trust

Preview Calculator for WooCommerce Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedJul 3, 2025
PHP min version7.4
Downloads179

Community Trust

Rating0/100
Number of ratings0
Active installs0
Developer Profile

Preview Calculator for WooCommerce Developer Profile

sotfsdapps

2 plugins · 0 total installs

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

How We Detect Preview Calculator 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/wc-preview-calculator/assets/script.js/wp-content/plugins/wc-preview-calculator/assets/style.css
Script Paths
/wp-content/plugins/wc-preview-calculator/assets/script.js/wp-content/plugins/wc-preview-calculator/includes/script.js
Version Parameters
wc-preview-calculator/assets/script.js?ver=1.1.1wc-preview-calculator/assets/style.css?ver=1.1.1wc-preview-calculator/includes/script.js?ver=1.1.1

HTML / DOM Fingerprints

CSS Classes
pcfwc-calculatorpcfwc-inputpcfwc-cart-togglepcfwc-buttonpcfwc-outputcalculator-blockfield-rowfields-container+1 more
Data Attributes
data-settingsdata-slug
JS Globals
pcfwc_cartfieldHTML
Shortcode Output
<div class="pcfwc-calculator"<label>Enter final number:</label><input type="number" step="0.01" class="pcfwc-input"><label><input type="checkbox" class="pcfwc-cart-toggle"> Use WooCommerce cart subtotal</label>
FAQ

Frequently Asked Questions about Preview Calculator for WooCommerce