The SGDiet TDEE Calculator Security & Risk Analysis

wordpress.org/plugins/sgdiet-tdee-calculator

Calculate Total Daily Energy Expenditure on your frontend for your users to use.

10 active installs v1.0.0 PHP + WP 6.0.0+ Updated Mar 9, 2023
caloriesfood-plannutritionrecipestdee
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is The SGDiet TDEE Calculator Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 3yr ago
Risk Assessment

The sgdiet-tdee-calculator plugin exhibits a concerning security posture due to a significant number of unprotected entry points. While the plugin avoids dangerous functions and uses prepared statements for all SQL queries, a substantial portion of its attack surface, specifically 18 AJAX handlers, lacks any authentication or capability checks. This leaves these handlers vulnerable to unauthorized access and potentially malicious input. The taint analysis also revealed two flows with unsanitized paths, which, while not flagged as critical or high severity in this analysis, represent potential avenues for exploitation if combined with other weaknesses. The absence of any recorded vulnerability history could indicate either a secure development history or simply a lack of prior public discovery, which should not be relied upon as a guarantee of future security. Overall, the plugin demonstrates strengths in its handling of database queries and output escaping, but its security is severely undermined by the extensive exposure of its AJAX functionality. Proactive measures to secure these AJAX handlers are paramount to mitigating significant risks.

Key Concerns

  • Unprotected AJAX handlers
  • Unsanitized paths in taint analysis
  • Missing nonce checks on AJAX
  • Missing capability checks on AJAX
  • 70% output escaping (could be higher)
Vulnerabilities
None known

The SGDiet TDEE Calculator Security Vulnerabilities

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

The SGDiet TDEE Calculator Release Timeline

v1.0
Code Analysis
Analyzed Apr 16, 2026

The SGDiet TDEE Calculator Code Analysis

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

Output Escaping

70% escaped82 total outputs
Data Flows · Security
2 unsanitized

Data Flow Analysis

2 flows2 with unsanitized paths
sgdiet_result_content_post (sgdiet-calculator.php:964)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface
18 unprotected

The SGDiet TDEE Calculator Attack Surface

Entry Points20
Unprotected18

AJAX Handlers 18

noprivwp_ajax_content0_postsgdiet-calculator.php:452
authwp_ajax_content0_postsgdiet-calculator.php:453
noprivwp_ajax_content1_postsgdiet-calculator.php:456
authwp_ajax_content1_postsgdiet-calculator.php:457
noprivwp_ajax_content2_postsgdiet-calculator.php:460
authwp_ajax_content2_postsgdiet-calculator.php:461
noprivwp_ajax_content2a_postsgdiet-calculator.php:463
authwp_ajax_content2a_postsgdiet-calculator.php:464
noprivwp_ajax_content2b_postsgdiet-calculator.php:466
authwp_ajax_content2b_postsgdiet-calculator.php:467
noprivwp_ajax_content2c_postsgdiet-calculator.php:469
authwp_ajax_content2c_postsgdiet-calculator.php:470
noprivwp_ajax_content2d_postsgdiet-calculator.php:472
authwp_ajax_content2d_postsgdiet-calculator.php:473
noprivwp_ajax_content3_postsgdiet-calculator.php:475
authwp_ajax_content3_postsgdiet-calculator.php:476
noprivwp_ajax_generate_resultsgdiet-calculator.php:478
authwp_ajax_generate_resultsgdiet-calculator.php:479

Shortcodes 2

[onboard] sgdiet-calculator.php:215
[sgdiet_display_macro] sgdiet-calculator.php:1202
WordPress Hooks 8
actionplugins_loadedincludes/class-sgdiet-calculator.php:142
actionadmin_enqueue_scriptsincludes/class-sgdiet-calculator.php:157
actionadmin_enqueue_scriptsincludes/class-sgdiet-calculator.php:158
actionwp_enqueue_scriptsincludes/class-sgdiet-calculator.php:173
actionwp_enqueue_scriptsincludes/class-sgdiet-calculator.php:174
actionwp_footersgdiet-calculator.php:217
actionadmin_menusgdiet-calculator.php:1046
actionadmin_initsgdiet-calculator.php:1047
Maintenance & Trust

The SGDiet TDEE Calculator Maintenance & Trust

Maintenance Signals

WordPress version tested6.1.10
Last updatedMar 9, 2023
PHP min version
Downloads2K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

The SGDiet TDEE Calculator Developer Profile

webcreativemaster

4 plugins · 30 total installs

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

How We Detect The SGDiet TDEE Calculator

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/sgdiet-tdee-calculator/assets/css/tdee-calculator.css/wp-content/plugins/sgdiet-tdee-calculator/assets/js/tdee-calculator.js
Version Parameters
sgdiet-tdee-calculator/assets/css/tdee-calculator.css?ver=sgdiet-tdee-calculator/assets/js/tdee-calculator.js?ver=

HTML / DOM Fingerprints

CSS Classes
knowhalim_form_sectionform_rowfield_labelfield_input
Data Attributes
name="intention"value="lose weight and be healthy"value="just lose weight"value="just be healthy"value="just maintain weight"value="maintain weight healthily"+7 more
FAQ

Frequently Asked Questions about The SGDiet TDEE Calculator