Roi Calculator Security & Risk Analysis

wordpress.org/plugins/roi-calculator

For using This plugin you Can Know ratio that compares the gain or loss from an investment relative to its cost.

100 active installs v1.1 PHP + WP 5.5+ Updated May 26, 2025
return-on-investment-calculatorroi-calculator
99
A · Safe
CVEs total1
Unpatched0
Last CVEJan 24, 2025
Download
Safety Verdict

Is Roi Calculator Safe to Use in 2026?

Generally Safe

Score 99/100

Roi Calculator has a strong security track record. Known vulnerabilities have been patched promptly.

1 known CVELast CVE: Jan 24, 2025Updated 10mo ago
Risk Assessment

The roi-calculator plugin version 1.1 exhibits a generally good security posture due to its adherence to several best practices. The static analysis reveals a minimal attack surface with only one shortcode and no AJAX handlers or REST API routes, and importantly, none of these entry points appear unprotected. The code also demonstrates strong SQL query sanitization, with 100% of queries using prepared statements, and a high percentage of output (98%) being properly escaped, which significantly reduces the risk of common vulnerabilities like SQL injection and cross-site scripting. The absence of file operations and external HTTP requests further strengthens its security.

However, there are a few areas of concern. The complete lack of nonce checks and capability checks across all entry points is a significant weakness. While the current attack surface is small, any future expansion or modification could easily introduce vulnerabilities if these fundamental security mechanisms are not implemented. The vulnerability history indicates a past medium-severity Cross-Site Request Forgery (CSRF) vulnerability. While it is currently patched, the presence of such a vulnerability suggests that the plugin's development might not consistently incorporate robust security checks, particularly for state-changing operations that are susceptible to CSRF. The taint analysis showing zero flows analyzed is also a missed opportunity for deeper security assurance.

In conclusion, roi-calculator v1.1 benefits from a small attack surface and good practices in SQL and output sanitization. However, the absence of nonce and capability checks represents a notable oversight that could expose the plugin to risks, especially if its functionality expands. The past CSRF vulnerability serves as a reminder to ensure comprehensive security across all actions.

Key Concerns

  • Missing nonce checks
  • Missing capability checks
  • Past medium severity CVE (CSRF)
  • Taint analysis not performed
Vulnerabilities
1

Roi Calculator Security Vulnerabilities

CVEs by Year

1 CVE in 2025
2025
Patched Has unpatched

Severity Breakdown

Medium
1

1 total CVE

CVE-2025-24756medium · 6.1Cross-Site Request Forgery (CSRF)

Roi Calculator <= 1.0 - Cross-Site Request Forgery to Stored Cross-Site Scripting

Jan 24, 2025 Patched in 1.1 (5d)
Code Analysis
Analyzed Mar 16, 2026

Roi Calculator Code Analysis

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

Output Escaping

98% escaped141 total outputs
Attack Surface

Roi Calculator Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[roi_calc] frontend\frontend.php:191
WordPress Hooks 5
actionadmin_initbackend\backend.php:43
actionadmin_initbackend\backend.php:103
actionadmin_menubackend\backend.php:444
actionadmin_initbackend\backend.php:445
actionwp_enqueue_scriptsroi-calculator.php:58
Maintenance & Trust

Roi Calculator Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedMay 26, 2025
PHP min version
Downloads2K

Community Trust

Rating100/100
Number of ratings1
Active installs100
Developer Profile

Roi Calculator Developer Profile

mgplugin

10 plugins · 850 total installs

97
trust score
Avg Security Score
95/100
Avg Patch Time
5 days
View full developer profile
Detection Fingerprints

How We Detect Roi Calculator

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/roi-calculator/frontend/asset/css/style.css/wp-content/plugins/roi-calculator/frontend/asset/js/script.js/wp-content/plugins/roi-calculator/frontend/asset/js/chart.js
Script Paths
/wp-content/plugins/roi-calculator/frontend/asset/js/script.js/wp-content/plugins/roi-calculator/frontend/asset/js/chart.js
Version Parameters
roi-calculator/frontend/asset/js/script.js?ver=roi-calculator/frontend/asset/css/style.css?ver=

HTML / DOM Fingerprints

CSS Classes
roi_containers_rowsroi_inner_headerroi_invt_formroi_calc_heading_1roi_calc_colroi_field_namecalc_conditionsroi_calc_filed+11 more
Data Attributes
roi_calc_style
JS Globals
roi_calc_style
Shortcode Output
<section class="roi_calc_header"><div class="roi_title"><div class="roi_inner_header"><h2 class="font-weight-bold">
FAQ

Frequently Asked Questions about Roi Calculator