AP Twitter Follow Button Security & Risk Analysis

wordpress.org/plugins/ap-twitter-follow-button

AP Twitter Follow Button add a widget which allows you to add a highly cutomizable Twitter Follow Button.

90 active installs v0.9.3 PHP + WP 3.0+ Updated Jun 12, 2012
buttonfollowtwitter
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is AP Twitter Follow Button Safe to Use in 2026?

Generally Safe

Score 85/100

AP Twitter Follow Button has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 13yr ago
Risk Assessment

The "ap-twitter-follow-button" plugin v0.9.3 exhibits a mixed security posture. On the positive side, there are no recorded CVEs, suggesting a history of relative stability. The plugin also demonstrates good practices regarding SQL queries, as all are using prepared statements, and there are no file operations or external HTTP requests, which reduces common attack vectors. However, several significant concerns arise from the static analysis. The presence of a 'create_function' call is a notable risk, as this function is deprecated and can be exploited to execute arbitrary code in certain contexts. Furthermore, only 10% of outputs are properly escaped, indicating a high likelihood of cross-site scripting (XSS) vulnerabilities, which could allow attackers to inject malicious scripts into pages. The lack of nonce checks and capability checks on entry points, while the attack surface is reported as zero, means that if any entry points are ever introduced or discovered, they would be unprotected.

The complete absence of taint analysis data and a zero-count for known vulnerabilities might indicate thorough past security efforts or simply a lack of deep analysis. However, the 'create_function' and the significantly low output escaping percentage are clear indicators of present risks that require immediate attention. The plugin's strengths lie in its clean database interaction and lack of external dependencies, but the high risk of XSS and the use of a dangerous function are critical weaknesses that overshadow these benefits. A balanced conclusion is that while the plugin has a clean vulnerability history, the static analysis reveals serious flaws that elevate its risk profile considerably.

Key Concerns

  • Dangerous function create_function used
  • Low output escaping (10%)
  • No nonce checks
  • No capability checks
Vulnerabilities
None known

AP Twitter Follow Button Security Vulnerabilities

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

AP Twitter Follow Button Code Analysis

Dangerous Functions
1
Raw SQL Queries
0
0 prepared
Unescaped Output
63
7 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("AP_Twitter_Follow_Button");ap-twitter-follow-button.php:269

Output Escaping

10% escaped70 total outputs
Attack Surface

AP Twitter Follow Button Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 1
actionwidgets_initap-twitter-follow-button.php:269
Maintenance & Trust

AP Twitter Follow Button Maintenance & Trust

Maintenance Signals

WordPress version tested3.3.2
Last updatedJun 12, 2012
PHP min version
Downloads10K

Community Trust

Rating0/100
Number of ratings0
Active installs90
Developer Profile

AP Twitter Follow Button Developer Profile

Armel

1 plugin · 90 total installs

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

How We Detect AP Twitter Follow Button

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

Asset Fingerprints

Script Paths
/wp-content/plugins/ap-twitter-follow-button/ap-twitter-follow-button.php
Version Parameters
/wp-content/plugins/ap-twitter-follow-button/ap-twitter-follow-button.php?ver=

HTML / DOM Fingerprints

CSS Classes
ap_twitter_follow_button
Data Attributes
data-show-countdata-show-screen-namedata-dntdata-sizedata-langdata-width
JS Globals
twitter-wjs
Shortcode Output
<a href="https://twitter.com/class="twitter-follow-button"
FAQ

Frequently Asked Questions about AP Twitter Follow Button