Custom Post Type Calculator Security & Risk Analysis

wordpress.org/plugins/custom-post-type-calculator

Create a multi-purpose category-based calculator and use it to calculate item amounts and values. Allow the user to request a quote based on current c …

10 active installs v0.9 PHP + WP 4.0+ Updated Aug 23, 2016
calculatorcptcustom-post-type
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Custom Post Type Calculator Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 10yr ago
Risk Assessment

The custom-post-type-calculator plugin version 0.9 exhibits a generally good security posture, demonstrating several positive security practices. The absence of known CVEs and a clean vulnerability history are strong indicators of a well-maintained and secure codebase over time. The plugin also correctly utilizes prepared statements for all SQL queries, a crucial defense against SQL injection vulnerabilities. Furthermore, nonce and capability checks are present, indicating an awareness of WordPress security best practices for controlling access to sensitive operations. The limited attack surface, with only one entry point and no unprotected handlers or routes, further enhances its security profile.

However, there are areas for improvement. While the overall percentage of properly escaped output is 57%, this means a significant portion (43%) is not. This can leave the plugin susceptible to cross-site scripting (XSS) vulnerabilities if user-supplied data is not properly sanitized before being displayed to the user. The taint analysis reveals two flows with unsanitized paths, which, while not classified as critical or high severity in this report, warrant careful investigation as they could potentially lead to security issues if exploited in conjunction with other factors.

In conclusion, custom-post-type-calculator v0.9 is a relatively secure plugin, primarily due to its lack of historical vulnerabilities and good practices like prepared statements and access control checks. The main concern lies in the unescaped output and the presence of unsanitized paths in taint flows, which represent potential weaknesses that could be exploited. Addressing these areas would further strengthen the plugin's security.

Key Concerns

  • Significant portion of output not properly escaped
  • Taint flows with unsanitized paths
Vulnerabilities
None known

Custom Post Type Calculator Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Version History

Custom Post Type Calculator Release Timeline

No version history available.
Code Analysis
Analyzed Mar 17, 2026

Custom Post Type Calculator Code Analysis

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

Output Escaping

57% escaped21 total outputs
Data Flows · Security
2 unsanitized

Data Flow Analysis

2 flows2 with unsanitized paths
cptc_admin_page (includes\page-settings.php:2)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Custom Post Type Calculator Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[cpt-calculator] cpt-calculator.php:43
WordPress Hooks 5
actioninitcpt-calculator.php:36
actionadmin_menucpt-calculator.php:37
actionwp_enqueue_scriptscpt-calculator.php:216
actionadd_meta_boxescpt-calculator.php:244
actionsave_postcpt-calculator.php:282
Maintenance & Trust

Custom Post Type Calculator Maintenance & Trust

Maintenance Signals

WordPress version tested4.3.34
Last updatedAug 23, 2016
PHP min version
Downloads2K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

Custom Post Type Calculator Developer Profile

nosaint

1 plugin · 10 total installs

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

How We Detect Custom Post Type Calculator

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/custom-post-type-calculator/css/style.css/wp-content/plugins/custom-post-type-calculator/js/script.js
Script Paths
/wp-content/plugins/custom-post-type-calculator/js/script.js
Version Parameters
custom-post-type-calculator/css/style.css?ver=custom-post-type-calculator/js/script.js?ver=

HTML / DOM Fingerprints

CSS Classes
cptc_confirmation_messagepure-formpure-form-alignedpure-u-1-8fa-angle-rightpure-buttonfa-angle-double-rightpure-group+1 more
HTML Comments
<!--<input type="hidden" name="
Data Attributes
data-valueitem_admin_emailitem_surface_labelitem_measurement_labelitem_calculate_button_labelitem_result_label+9 more
JS Globals
window.total
Shortcode Output
<form class="pure-form pure-form-aligned" method="post"><fieldset><p class="cptc_confirmation_message"><span id="total">0</span>
FAQ

Frequently Asked Questions about Custom Post Type Calculator