Better WordPress Recent Comments Security & Risk Analysis

wordpress.org/plugins/bwp-recent-comments

This plugin displays recent comment lists at assigned locations, with comprehensive support for widgets.

600 active installs v1.2.2 PHP + WP 2.8+ Updated Nov 28, 2017
commentsrecent-commentsrecent-comments-widgetswordpress-recent-comments
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Better WordPress Recent Comments Safe to Use in 2026?

Generally Safe

Score 85/100

Better WordPress Recent Comments has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 8yr ago
Risk Assessment

The bwp-recent-comments plugin version 1.2.2 exhibits a mixed security posture. On the positive side, it has a very small attack surface, with only one entry point identified (a shortcode) and no AJAX handlers, REST API routes, or cron events. Furthermore, the plugin has no recorded vulnerability history, which suggests a history of good security practices or a lack of targeted attacks. However, the static analysis reveals significant concerns. The presence of the `create_function` function is a clear indicator of potential security risks, as it is highly discouraged due to its ability to execute arbitrary code. Additionally, a substantial portion of output (76%) is not properly escaped, increasing the risk of Cross-Site Scripting (XSS) vulnerabilities, especially if the shortcode handles user-supplied data. While the majority of SQL queries use prepared statements, the presence of any raw SQL could still be problematic if not carefully handled. The taint analysis showing two flows with unsanitized paths, despite having no critical or high severity findings, warrants attention as it indicates potential data leakage or manipulation possibilities.

Key Concerns

  • Use of dangerous function create_function
  • High percentage of unescaped output
  • Flows with unsanitized paths found in taint analysis
Vulnerabilities
None known

Better WordPress Recent Comments Security Vulnerabilities

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

Better WordPress Recent Comments Code Analysis

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

Dangerous Functions Found

create_functionadd_filter('bwp_option_submit_button', create_function('', 'return "";'));includes\class-bwp-recent-comments.php:566

SQL Query Safety

88% prepared8 total queries

Output Escaping

24% escaped79 total outputs
Data Flows
2 unsanitized

Data Flow Analysis

2 flows2 with unsanitized paths
build_option_pages (includes\class-bwp-recent-comments.php:315)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Better WordPress Recent Comments Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[bwp-rc] includes\class-bwp-recent-comments.php:220
WordPress Hooks 22
actionadmin_menubwp-recent-comments.php:19
actionadmin_noticesincludes\class-bwp-framework.php:168
actionnetwork_admin_noticesincludes\class-bwp-framework.php:169
actioninitincludes\class-bwp-framework.php:274
filterbwp-admin-form-iconincludes\class-bwp-framework.php:285
filterbwp-admin-plugin-versionincludes\class-bwp-framework.php:286
actionbwp_option_action_before_formincludes\class-bwp-framework.php:287
filterplugin_action_linksincludes\class-bwp-framework.php:405
actionbwp_option_action_before_formincludes\class-bwp-framework.php:455
actioncomment_postincludes\class-bwp-recent-comments.php:208
actionedit_commentincludes\class-bwp-recent-comments.php:210
actiondelete_commentincludes\class-bwp-recent-comments.php:211
actiondelete_postincludes\class-bwp-recent-comments.php:212
actionswitch_themeincludes\class-bwp-recent-comments.php:213
actionwp_set_comment_statusincludes\class-bwp-recent-comments.php:214
actionbwp_rc_access_optionsincludes\class-bwp-recent-comments.php:215
actionbwp_rc_form_loadedincludes\class-bwp-recent-comments.php:216
filterquery_varsincludes\class-bwp-recent-comments.php:218
actioninitincludes\class-bwp-recent-comments.php:227
actionwidgets_initincludes\class-bwp-recent-comments.php:233
actionwp_headincludes\class-bwp-recent-comments.php:270
filterbwp_option_submit_buttonincludes\class-bwp-recent-comments.php:566
Maintenance & Trust

Better WordPress Recent Comments Maintenance & Trust

Maintenance Signals

WordPress version tested3.7.41
Last updatedNov 28, 2017
PHP min version
Downloads56K

Community Trust

Rating90/100
Number of ratings15
Active installs600
Developer Profile

Better WordPress Recent Comments Developer Profile

Khang Minh

4 plugins · 9K total installs

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

How We Detect Better WordPress Recent Comments

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/bwp-recent-comments/bwp-recent-comments.css/wp-content/plugins/bwp-recent-comments/js/bwp-recent-comments.js
Script Paths
/wp-content/plugins/bwp-recent-comments/js/bwp-recent-comments.js
Version Parameters
bwp-recent-comments/bwp-recent-comments.css?ver=bwp-recent-comments/js/bwp-recent-comments.js?ver=

HTML / DOM Fingerprints

CSS Classes
bwp-rc-widgetbwp_rc_widgetbwp-rc-no-avatarbwp-rc-show-avatar
HTML Comments
<!-- BEGIN BWP Recent Comments --><!-- END BWP Recent Comments --><!-- BEGIN BWP Recent Comments Widget --><!-- END BWP Recent Comments Widget -->
Data Attributes
data-show-avatardata-comment-count
JS Globals
bwp_rc_configs
Shortcode Output
[bwp_recent_comments
FAQ

Frequently Asked Questions about Better WordPress Recent Comments