YD Prevent Comment Impersonation Security & Risk Analysis

wordpress.org/plugins/yd-prevent-comment-impersonation

This simple WordPress plugin prevents a "non registered" commentator to use the identity (login or e-mail address) of a registered user.

10 active installs v0.1.0 PHP + WP 2.9+ Updated Mar 30, 2011
automaticenglishextensionplug-invisit
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is YD Prevent Comment Impersonation Safe to Use in 2026?

Generally Safe

Score 85/100

YD Prevent Comment Impersonation has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 15yr ago
Risk Assessment

The "yd-prevent-comment-impersonation" plugin v0.1.0 exhibits a mixed security posture. On the positive side, it has a very small attack surface, with no exposed AJAX handlers, REST API routes, or shortcodes. It also correctly implements nonce and capability checks for its entry points and performs no file operations or external HTTP requests. However, the analysis reveals significant concerns regarding data handling. A single SQL query is present, and it does not use prepared statements, posing a potential SQL injection risk. Furthermore, a concerning 89% of output operations are not properly escaped, indicating a high likelihood of cross-site scripting (XSS) vulnerabilities. The taint analysis shows a flow with unsanitized paths, which, while not flagged as critical or high, warrants attention given the poor output escaping. The plugin's vulnerability history is clean, with no recorded CVEs. This suggests a lack of past exploitation, but it does not negate the identified code-level risks, particularly the unescaped output and raw SQL query. While the plugin demonstrates good practice in limiting its attack surface and implementing basic security checks, the lack of prepared statements for SQL and the pervasive unescaped output are substantial weaknesses that significantly increase the risk of exploitation.

Key Concerns

  • SQL query not using prepared statements
  • High percentage of unescaped output
  • Flow with unsanitized paths (taint)
Vulnerabilities
None known

YD Prevent Comment Impersonation Security Vulnerabilities

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

YD Prevent Comment Impersonation Code Analysis

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

SQL Query Safety

0% prepared1 total queries

Output Escaping

11% escaped64 total outputs
Data Flows
1 unsanitized

Data Flow Analysis

3 flows1 with unsanitized paths
form_footer (inc\yd-widget-framework.inc.php:642)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

YD Prevent Comment Impersonation Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 11
actionadmin_menuinc\yd-widget-framework.inc.php:99
filterplugin_action_linksinc\yd-widget-framework.inc.php:101
filterplugin_row_metainc\yd-widget-framework.inc.php:102
actionadmin_menuinc\yd-widget-framework.inc.php:105
actionwidgets_initinc\yd-widget-framework.inc.php:107
actionwp_print_stylesinc\yd-widget-framework.inc.php:109
actionplugins_loadedinc\yd-widget-framework.inc.php:110
actionadmin_noticesinc\yd-widget-framework.inc.php:111
actionwp_footerinc\yd-widget-framework.inc.php:113
actionadmin_noticesinc\yd-widget-framework.inc.php:337
filterpreprocess_commentyd-prevent-comment-impersonation.php:106

Scheduled Events 2

yd_hourly_event
yd_daily_event
Maintenance & Trust

YD Prevent Comment Impersonation Maintenance & Trust

Maintenance Signals

WordPress version tested3.1.4
Last updatedMar 30, 2011
PHP min version
Downloads3K

Community Trust

Rating100/100
Number of ratings1
Active installs10
Developer Profile

YD Prevent Comment Impersonation Developer Profile

Yann at WP&Co

14 plugins · 180 total installs

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

How We Detect YD Prevent Comment Impersonation

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

Asset Fingerprints

HTML / DOM Fingerprints

FAQ

Frequently Asked Questions about YD Prevent Comment Impersonation