WP Nutrition Facts Security & Risk Analysis

wordpress.org/plugins/wp-nutrition-facts

Insert a Nutrition Facts Table to pages, posts and custom post type.

60 active installs v1.0.2 PHP + WP 3.5+ Updated Jan 25, 2014
foodinspectionnutritionnutrition-factsnutrition-label
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is WP Nutrition Facts Safe to Use in 2026?

Generally Safe

Score 85/100

WP Nutrition Facts has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 12yr ago
Risk Assessment

The "wp-nutrition-facts" v1.0.2 plugin presents a mixed security posture. On one hand, it demonstrates good practices by not making external HTTP requests, not performing file operations, and utilizing prepared statements for its SQL queries, which significantly reduces common web application vulnerabilities. The absence of known CVEs and a clean vulnerability history further contribute to a positive security outlook, suggesting that the plugin has historically been well-maintained or has not attracted significant security research.

However, several concerning code signals raise red flags. The presence of a `create_function` call is a critical security concern, as this function is deprecated and can lead to arbitrary code execution if not handled with extreme care, especially in older PHP versions. Furthermore, a very low percentage of properly escaped output (6%) indicates a high risk of Cross-Site Scripting (XSS) vulnerabilities. The lack of nonce checks, despite having a single entry point via a shortcode, is also a significant weakness, potentially allowing for Cross-Site Request Forgery (CSRF) attacks.

In conclusion, while the plugin benefits from a clean vulnerability history and a limited attack surface, the identified code signals, particularly `create_function` and widespread unescaped output, present significant and exploitable security risks. These issues necessitate immediate attention and remediation to ensure the plugin's security.

Key Concerns

  • Use of dangerous function: create_function
  • Low percentage of properly escaped output
  • Missing nonce checks on entry points
Vulnerabilities
None known

WP Nutrition Facts Security Vulnerabilities

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

WP Nutrition Facts Code Analysis

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

Dangerous Functions Found

create_functioncreate_function(wpnutrifacts_class.php:1161

Output Escaping

6% escaped36 total outputs
Attack Surface

WP Nutrition Facts Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[wpnf-label] wpnutrifacts_class.php:119
WordPress Hooks 14
actionactivation_noticewp-nutrition-facts.php:85
actioninitwp-nutrition-facts.php:102
actioninitwpnutrifacts_class.php:105
actionwp_headwpnutrifacts_class.php:107
actionsave_postwpnutrifacts_class.php:111
actionadmin_enqueue_scriptswpnutrifacts_class.php:114
actionadmin_enqueue_scriptswpnutrifacts_class.php:115
actionwp_enqueue_scriptswpnutrifacts_class.php:116
actionwp_dashboard_setupwpnutrifacts_class.php:122
actionadd_meta_boxeswpnutrifacts_class.php:125
filtermanage_edit-wp-nutrition-facts_columnswpnutrifacts_class.php:128
filtermanage_posts_custom_columnwpnutrifacts_class.php:129
filterpost_updated_messageswpnutrifacts_class.php:132
actionadmin_noticeswpnutrifacts_class.php:1159
Maintenance & Trust

WP Nutrition Facts Maintenance & Trust

Maintenance Signals

WordPress version tested3.7.41
Last updatedJan 25, 2014
PHP min version
Downloads3K

Community Trust

Rating100/100
Number of ratings1
Active installs60
Developer Profile

WP Nutrition Facts Developer Profile

KilukruMedia

2 plugins · 150 total installs

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

How We Detect WP Nutrition Facts

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/wp-nutrition-facts/css/wpnutrifacts.css/wp-content/plugins/wp-nutrition-facts/js/wpnutrifacts.js
Script Paths
/wp-content/plugins/wp-nutrition-facts/js/wpnutrifacts.js
Version Parameters
wpnutrifacts.js?ver=wpnutrifacts.css?ver=

HTML / DOM Fingerprints

CSS Classes
wpnf-nutrition-facts-tablewpnf-label-titlewpnf-serving-sizewpnf-calorieswpnf-total-fatwpnf-saturated-fatwpnf-trans-fatwpnf-cholesterol+7 more
HTML Comments
Copyright (C) 2012-2014 Kilukru MediaThis program is free softwareThis program is distributed in the hope that it will be usefulYou should have received a copy of the GNU General Public License+1 more
Data Attributes
data-wpnf-nutrition-factsdata-serving-sizedata-caloriesdata-total-fatdata-saturated-fatdata-trans-fat+7 more
JS Globals
wpnutrifacts_options
Shortcode Output
[wpnf-label]
FAQ

Frequently Asked Questions about WP Nutrition Facts