Fun Facts Security & Risk Analysis

wordpress.org/plugins/fun-facts

Adds a sidebar widget that display interesting, useless, weird and wonderful random fun facts.

50 active installs v2.0.1 PHP + WP 2.8+ Updated Feb 9, 2014
factfunfun-factshumourinteresting
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Fun Facts Safe to Use in 2026?

Generally Safe

Score 85/100

Fun 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 'fun-facts' plugin v2.0.1 exhibits a mixed security posture. While the attack surface is minimal and appears to have no direct unprotected entry points from AJAX, REST API, or cron, significant concerns arise from the code analysis signals. The presence of the `create_function` is a notable risk as it can be exploited for code injection. Furthermore, the complete lack of prepared statements for all SQL queries (14 total) and the absence of output escaping for all outputs (7 total) present substantial vulnerabilities to SQL injection and Cross-Site Scripting (XSS) respectively. The plugin's vulnerability history is clean, with no recorded CVEs, which is positive. However, this historical lack of vulnerabilities does not negate the critical flaws identified in the static analysis. The strength lies in its small attack surface and clean history, but the weaknesses in basic security practices like input sanitization and secure SQL query handling are significant and outweigh the perceived strengths, warranting caution.

Key Concerns

  • Raw SQL queries without prepared statements
  • Unescaped output
  • Dangerous function: create_function
  • Missing nonce checks
  • Missing capability checks
Vulnerabilities
None known

Fun Facts Security Vulnerabilities

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

Fun Facts Code Analysis

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

Dangerous Functions Found

create_functionadd_action('widgets_init', create_function('', 'return register_widget("WP_Widget_Fun_Facts");'));fun-facts.php:140

SQL Query Safety

0% prepared14 total queries

Output Escaping

0% escaped7 total outputs
Attack Surface

Fun Facts Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[fun-facts] fun-facts.php:75
WordPress Hooks 2
actionwidgets_initfun-facts.php:140
actionadmin_menufun-facts.php:308
Maintenance & Trust

Fun Facts Maintenance & Trust

Maintenance Signals

WordPress version tested3.7.41
Last updatedFeb 9, 2014
PHP min version
Downloads8K

Community Trust

Rating100/100
Number of ratings1
Active installs50
Developer Profile

Fun Facts Developer Profile

philippe

9 plugins · 1K total installs

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

How We Detect Fun Facts

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

Asset Fingerprints

HTML / DOM Fingerprints

CSS Classes
wrapui-sortablepostboxopenedform-table
Data Attributes
titlefacesizewidget_title
Shortcode Output
<table width="250" style="border-width: thin thin thin thin; border-style: solid solid solid solid;"><thead><tr><th><center><font face="arial" size="+1"><b>Fun Facts</b></center></font></th></tr></thead><tbody><tr><td><div style="text-align: justify;"></div></td></tr></tbody><tfoot><tr><td><div style="text-align: right;"><font face="arial" size="-3"><a href="http://www.joeswebtools.com/wordpress-plugins/fun-facts/" title="Fun Facts widget plugin for WordPress">Joe's</a></font></div></td></tr></tfoot></table><div style="text-align: justify;">
FAQ

Frequently Asked Questions about Fun Facts