Display Tweets Security & Risk Analysis

wordpress.org/plugins/display-tweets-php

Display Tweets is an easy to use, future proof Twitter feed plugin that uses PHP to make requests to the v1.1 Twitter REST API.

1K active installs v1.0.3 PHP + WP 3.5+ Updated Nov 28, 2017
feedmentionsretweetstweetstwitter
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Display Tweets Safe to Use in 2026?

Generally Safe

Score 85/100

Display Tweets 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 display-tweets-php plugin v1.0.3 exhibits a mixed security posture. On the positive side, it demonstrates good practices by utilizing prepared statements for all SQL queries and performing capability checks and nonce checks, indicating an awareness of fundamental security principles. Furthermore, the complete absence of known CVEs and a clean vulnerability history suggest a generally stable and well-maintained codebase, at least in terms of publicly disclosed vulnerabilities.

However, significant concerns arise from the static code analysis. The presence of the `create_function` dangerous function is a critical red flag, as it can lead to arbitrary code execution if user-supplied input is not strictly sanitized before being passed to it. Additionally, a very low percentage (9%) of properly escaped output suggests a high risk of Cross-Site Scripting (XSS) vulnerabilities, where malicious scripts could be injected into the page content displayed by the plugin. The single file operation and external HTTP request, while not inherently insecure, represent potential entry points for attacks if not handled with extreme care regarding user input.

In conclusion, while the plugin benefits from a clean vulnerability history and good practices in SQL and authentication checks, the use of `create_function` and the widespread lack of output escaping introduce substantial risks. These code-level weaknesses overshadow the positive aspects and require immediate attention to mitigate potential XSS and arbitrary code execution vulnerabilities.

Key Concerns

  • Dangerous function create_function used
  • Low output escaping percentage (9%)
  • Presence of file operations
  • Presence of external HTTP requests
Vulnerabilities
None known

Display Tweets Security Vulnerabilities

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

Display Tweets Code Analysis

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

Dangerous Functions Found

create_functionadd_action( 'admin_notices', create_function( '', 'echo "<div class=\"message updated\"><p>'. __( 'Sdisplaytweets.php:354
create_functionadd_action( 'widgets_init', create_function( '', 'register_widget( "DT_Widget" );' ) );displaytweets.php:627

SQL Query Safety

100% prepared1 total queries

Output Escaping

9% escaped23 total outputs
Data Flows
All sanitized

Data Flow Analysis

2 flows
save_settings (displaytweets.php:331)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Display Tweets Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[display_tweets] displaytweets.php:109
WordPress Hooks 4
actionadmin_menudisplaytweets.php:106
actionadmin_menudisplaytweets.php:107
actionadmin_noticesdisplaytweets.php:354
actionwidgets_initdisplaytweets.php:627
Maintenance & Trust

Display Tweets Maintenance & Trust

Maintenance Signals

WordPress version tested3.6.1
Last updatedNov 28, 2017
PHP min version
Downloads51K

Community Trust

Rating100/100
Number of ratings14
Active installs1K
Developer Profile

Display Tweets Developer Profile

MatthewRuddy

1 plugin · 1K total installs

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

How We Detect Display Tweets

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/display-tweets-php/display-tweets-php.php/wp-content/plugins/display-tweets-php/css/style.css/wp-content/plugins/display-tweets-php/js/jquery.fittext.js/wp-content/plugins/display-tweets-php/js/script.js
Script Paths
/wp-content/plugins/display-tweets-php/js/jquery.fittext.js/wp-content/plugins/display-tweets-php/js/script.js
Version Parameters
display-tweets-php/css/style.css?ver=display-tweets-php/js/jquery.fittext.js?ver=display-tweets-php/js/script.js?ver=

HTML / DOM Fingerprints

HTML Comments
<!-- Display Tweets Plugin --><!-- /Display Tweets Plugin -->
Data Attributes
data-widget-id
JS Globals
displayTweetsdtp
Shortcode Output
[display_tweets
FAQ

Frequently Asked Questions about Display Tweets