Google+ Share Button Security & Risk Analysis

wordpress.org/plugins/google-plus-share-button

Adds an unofficial Google+ Share button to any WordPress page, post or template.

10 active installs v1.2 PHP + WP 2.7+ Updated Aug 11, 2011
1-buttongooglegoogle-1google-1-button
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Google+ Share Button Safe to Use in 2026?

Generally Safe

Score 85/100

Google+ Share Button 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-plus-share-button v1.2 plugin exhibits a strong security posture based on the provided static analysis. A significant strength is the complete absence of dangerous functions, file operations, and external HTTP requests. Furthermore, all SQL queries utilize prepared statements, and all identified outputs are properly escaped, indicating good development practices against common web vulnerabilities. The plugin also shows no history of known vulnerabilities, which suggests a mature and stable codebase. The limited attack surface, consisting solely of one shortcode and no unprotected entry points, further bolsters its security.

However, a notable concern arises from the complete lack of nonce checks and capability checks. While the static analysis did not identify any direct flows that could be exploited given this lack of checks, it signifies a potential weakness. If the shortcode were to process user-supplied data in a sensitive manner in future updates or if the static analysis did not cover all potential implicit flows, the absence of these fundamental security mechanisms could lead to vulnerabilities. The taint analysis showing zero flows with unsanitized paths is positive but relies on the completeness of the analysis, and the absence of checks means that even a small oversight in future coding could create risk.

In conclusion, the plugin demonstrates a commendable commitment to secure coding practices in many areas. The absence of known vulnerabilities and the careful handling of SQL and output are significant strengths. The primary area for improvement lies in implementing nonce and capability checks to further harden the plugin against potential attacks, especially as its functionality might evolve. This would create a more robust security posture.

Key Concerns

  • Missing nonce checks
  • Missing capability checks
Vulnerabilities
None known

Google+ Share Button Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Version History

Google+ Share Button Release Timeline

v1.3
v1.2Current
v1.1
Code Analysis
Analyzed Apr 16, 2026

Google+ Share Button Code Analysis

Dangerous Functions
0
Raw SQL Queries
0
0 prepared
Unescaped Output
0
0 escaped
Nonce Checks
0
Capability Checks
0
File Operations
0
External Requests
0
Bundled Libraries
0
Attack Surface

Google+ Share Button Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[gplusbutton] google-plus-share-button.php:32
Maintenance & Trust

Google+ Share Button Maintenance & Trust

Maintenance Signals

WordPress version tested3.2.1
Last updatedAug 11, 2011
PHP min version
Downloads4K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

Google+ Share Button Developer Profile

Alex Moss

13 plugins · 4K total installs

67
trust score
Avg Security Score
83/100
Avg Patch Time
249 days
View full developer profile
Detection Fingerprints

How We Detect Google+ Share Button

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/google-plus-share-button/images/plus.png/wp-content/plugins/google-plus-share-button/images/plusred.png/wp-content/plugins/google-plus-share-button/images/plusblue.png/wp-content/plugins/google-plus-share-button/images/plusgreen.png/wp-content/plugins/google-plus-share-button/images/plusgrey.png

HTML / DOM Fingerprints

HTML Comments
<!-- Google+ Share Button: http://pleer.co.uk/wordpress/plugins/google-plus-share-button/ -->
Shortcode Output
<a href="javascript:(function(){var w=480;var h=380;var x=Number((window.screen.width-w)/2);var y=Number((window.screen.height-h)/2);window.open('https://plusone.google.com/_/+1/confirm?hl=en&url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title),'','width='+w+',height='+h+',left='+x+',top='+y+',scrollbars=no');})();"><img src="[site_url]/wp-content/plugins/google-plus-share-button/images/plus[colour].png" alt="Share on Google+" width="55" height="22" /></a>
FAQ

Frequently Asked Questions about Google+ Share Button