Do You Know Widget Security & Risk Analysis

wordpress.org/plugins/do-you-know-widget

Adds a widget with a user recognition game.

10 active installs v1.0.1 PHP + WP 3.6.0+ Updated Sep 22, 2016
badgeosgamificationinteractiontimewidget
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Do You Know Widget Safe to Use in 2026?

Generally Safe

Score 85/100

Do You Know Widget has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 9yr ago
Risk Assessment

The "do-you-know-widget" plugin version 1.0.1 presents a mixed security posture. On the positive side, the plugin has a zero-known CVE history and zero recorded vulnerabilities, suggesting a history of responsible development or a lack of targeted exploitation. The static analysis also indicates a clean slate regarding SQL injections and file operations, with all SQL queries utilizing prepared statements and no file operations being performed. Furthermore, the plugin demonstrates a minimal attack surface with no AJAX handlers, REST API routes, shortcodes, or cron events, significantly reducing the potential for direct external exploitation.

However, there are notable concerns arising from the static analysis. The presence of the `create_function` function is a critical security anti-pattern, as it is highly susceptible to code injection if any part of its input is derived from user-controlled data. While taint analysis shows zero flows with unsanitized paths, this does not negate the inherent risk of `create_function` itself. Additionally, the plugin exhibits a very low rate of proper output escaping (14%), meaning a significant portion of its output is not being neutralized, creating a high risk of Cross-Site Scripting (XSS) vulnerabilities if any part of the rendered output is influenced by user input.

In conclusion, while the plugin's limited attack surface and clean vulnerability history are strengths, the use of `create_function` and the extremely low output escaping rate pose significant security risks. The lack of direct evidence of exploitation in its history doesn't eliminate the potential for XSS or code injection if user input is ever processed and rendered without proper sanitization. Developers should prioritize addressing the `create_function` usage and drastically improving output escaping.

Key Concerns

  • Use of dangerous function: create_function
  • Low output escaping rate (14%)
  • Missing capability checks
Vulnerabilities
None known

Do You Know Widget Security Vulnerabilities

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

Do You Know Widget Code Analysis

Dangerous Functions
1
Raw SQL Queries
0
2 prepared
Unescaped Output
42
7 escaped
Nonce Checks
1
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("DoYouKnow_widget");' ) );do-you-know.php:105

SQL Query Safety

100% prepared2 total queries

Output Escaping

14% escaped49 total outputs
Attack Surface

Do You Know Widget Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 5
filterbp_core_mysteryman_srcbp-member-with-avatar.php:83
filterbp_core_default_avatar_userbp-member-with-avatar.php:84
filterpre_user_querybp-member-with-avatar.php:133
filterbadgeos_activity_triggersdo-you-know-widget-class.php:16
actionwidgets_initdo-you-know.php:105
Maintenance & Trust

Do You Know Widget Maintenance & Trust

Maintenance Signals

WordPress version tested4.5.33
Last updatedSep 22, 2016
PHP min version
Downloads2K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

Do You Know Widget Developer Profile

konnektiv

10 plugins · 70 total installs

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

How We Detect Do You Know Widget

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/do-you-know-widget/js/countdown.js/wp-content/plugins/do-you-know-widget/js/main.js
Script Paths
/wp-content/plugins/do-you-know-widget/js/countdown.js/wp-content/plugins/do-you-know-widget/js/main.js
Version Parameters
do-you-know-widget/js/countdown.js?ver=do-you-know-widget/js/main.js?ver=

HTML / DOM Fingerprints

CSS Classes
do-you-know-contentdyk-next-textdyk-next-timedyk-next-button
Data Attributes
data-dyk-user
FAQ

Frequently Asked Questions about Do You Know Widget