Metro Share Widget Security & Risk Analysis

wordpress.org/plugins/metro-share-widget

Add Metro style social share widget to your sidebar. 5 most popular social networks supported

100 active installs v1.0.1 PHP 5.4+ WP 3.6+ Updated Nov 9, 2017
bookmarke-mailemaillinknetwork
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Metro Share Widget Safe to Use in 2026?

Generally Safe

Score 85/100

Metro Share Widget 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 "metro-share-widget" plugin v1.0.1 exhibits a mixed security posture. On the positive side, the plugin demonstrates good practices by not exposing a significant attack surface through AJAX, REST API, shortcodes, or cron events. Furthermore, all SQL queries are properly handled using prepared statements, and there are no recorded CVEs or known vulnerabilities, suggesting a history of stable and potentially secure development. The absence of file operations and external HTTP requests also reduces potential risks.

However, the static analysis reveals critical concerns regarding output escaping and the use of dangerous functions. Specifically, 100% of the outputs are not properly escaped, which presents a high risk of Cross-Site Scripting (XSS) vulnerabilities. Any user-supplied data that is displayed to other users without proper sanitization can be leveraged to inject malicious scripts. Additionally, the presence of the `create_function` dangerous function, even if only one is found, indicates a potential for insecure code execution if not handled with extreme care, though the taint analysis shows no immediate flows from it. The lack of nonce checks and capability checks across all entry points, coupled with the absence of authorization checks on any potential entry points (though none are identified), further exacerbates the risk, as it implies that any discovered entry point would likely be unprotected.

In conclusion, while the plugin benefits from a minimal attack surface and secure database interactions, the severe lack of output escaping and the presence of a dangerous function are significant security weaknesses. These issues, combined with the absence of authorization and nonce checks on any potential entry points, create a notable risk profile. The plugin's vulnerability history, being clean, is a positive indicator, but it doesn't negate the immediate risks identified in the code analysis. Users should proceed with caution and strongly consider if the functionality of this plugin is worth the inherent XSS risk.

Key Concerns

  • 100% of outputs are not properly escaped
  • Presence of dangerous function 'create_function'
  • No nonce checks
  • No capability checks
Vulnerabilities
None known

Metro Share Widget Security Vulnerabilities

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

Metro Share Widget Code Analysis

Dangerous Functions
1
Raw SQL Queries
0
0 prepared
Unescaped Output
21
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('', 'register_widget("Metro_Share_Widget");'));plugin.php:286

Output Escaping

0% escaped21 total outputs
Attack Surface

Metro Share Widget Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 9
actioninitplugin.php:60
actionadmin_print_stylesplugin.php:77
actionadmin_enqueue_scriptsplugin.php:78
actionwp_enqueue_scriptsplugin.php:81
actionwp_enqueue_scriptsplugin.php:82
actionsave_postplugin.php:85
actiondeleted_postplugin.php:86
actionswitch_themeplugin.php:87
actionwidgets_initplugin.php:286
Maintenance & Trust

Metro Share Widget Maintenance & Trust

Maintenance Signals

WordPress version tested4.9.29
Last updatedNov 9, 2017
PHP min version5.4
Downloads4K

Community Trust

Rating0/100
Number of ratings0
Active installs100
Developer Profile

Metro Share Widget Developer Profile

WPManiax

4 plugins · 130 total installs

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

How We Detect Metro Share Widget

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/metro-share-widget/css/admin.css/wp-content/plugins/metro-share-widget/js/admin.js/wp-content/plugins/metro-share-widget/css/style.css/wp-content/plugins/metro-share-widget/js/script.js
Script Paths
/wp-content/plugins/metro-share-widget/js/admin.js/wp-content/plugins/metro-share-widget/js/script.js
Version Parameters
metro-share-widget/css/admin.css?ver=metro-share-widget/js/admin.js?ver=metro-share-widget/css/style.css?ver=metro-share-widget/js/script.js?ver=

HTML / DOM Fingerprints

CSS Classes
metro-share-widget-class
Data Attributes
data-titledata-urldata-imagedata-description
FAQ

Frequently Asked Questions about Metro Share Widget