Google+ Page Badge Security & Risk Analysis

wordpress.org/plugins/google-page-badge

Show one or multiple Google+ badges for your G+ page in a widget, using a shortcode, or with template tags.

10 active installs v1.0 PHP + WP 2.8+ Updated Feb 2, 2012
badgegooglegoogle-pagegoogle-plusgoogle-badge
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Google+ Page Badge Safe to Use in 2026?

Generally Safe

Score 85/100

Google+ Page Badge has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 14yr ago
Risk Assessment

The google-page-badge plugin v1.0 exhibits a mixed security posture. On the positive side, it has a very small attack surface with no AJAX or REST API endpoints, and no cron events, which limits potential entry points. Furthermore, all its SQL queries use prepared statements, and there are no file operations or external HTTP requests, which are good security practices. However, significant concerns arise from the static analysis. The use of `create_function` is a dangerous function that can lead to code injection vulnerabilities if not handled with extreme care. Critically, 100% of its 19 output instances are not properly escaped, meaning any dynamic data displayed by the plugin could be vulnerable to Cross-Site Scripting (XSS) attacks. The taint analysis, while not reporting critical or high severity issues, did identify two flows with unsanitized paths, which could potentially be leveraged in conjunction with the unescaped output. The plugin's vulnerability history is clean, with no known CVEs, which is a positive indicator of past security diligence. However, this clean history, combined with the identified code quality issues, suggests a potential for undiscovered vulnerabilities. The plugin's strengths lie in its limited attack surface and secure database interaction, but its significant weakness in output escaping and the use of a dangerous function necessitate caution.

Key Concerns

  • 100% of outputs are not properly escaped
  • Use of dangerous function: create_function
  • Taint flows with unsanitized paths
  • No nonce checks
  • No capability checks
Vulnerabilities
None known

Google+ Page Badge Security Vulnerabilities

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

Google+ Page Badge Code Analysis

Dangerous Functions
1
Raw SQL Queries
0
0 prepared
Unescaped Output
19
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("gPlusPageBadge_Widget");') google-plus-page-badge.php:135

Output Escaping

0% escaped19 total outputs
Data Flows
2 unsanitized

Data Flow Analysis

2 flows2 with unsanitized paths
gpluspb_options_page (google-plus-page-badge.php:148)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Google+ Page Badge Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[gpluspb] google-plus-page-badge.php:68
WordPress Hooks 4
actionwidgets_initgoogle-plus-page-badge.php:135
actionadmin_menugoogle-plus-page-badge.php:138
actionadmin_menugoogle-plus-page-badge.php:145
actionwp_headgoogle-plus-page-badge.php:206
Maintenance & Trust

Google+ Page Badge Maintenance & Trust

Maintenance Signals

WordPress version tested3.3.2
Last updatedFeb 2, 2012
PHP min version
Downloads5K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

Google+ Page Badge Developer Profile

bkmacdaddy

1 plugin · 10 total installs

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

How We Detect Google+ Page Badge

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

Asset Fingerprints

HTML / DOM Fingerprints

CSS Classes
gppb-wrapgPlusPageBadge_widget
HTML Comments
<!-- script for Google+ Page Badge plugin -->
Data Attributes
data-gppb-iddata-gppb-size
Shortcode Output
<div class="gppb-wrap"><g:plus href="https://plus.google.com/" size="badge"></g:plus></div><div class="gppb-wrap"><g:plus href="https://plus.google.com/" size="smallbadge"></g:plus></div>
FAQ

Frequently Asked Questions about Google+ Page Badge