YOURLS: WordPress to Twitter Security & Risk Analysis

wordpress.org/plugins/yourls-wordpress-to-twitter

Use YOURLS (a free GPL URL shortener service) to create short URLs of your posts, or for your BuddyPress groups and users

100 active installs v1.6.1 PHP + WP 3.0+ Updated Sep 13, 2014
isgdozhtinyurltwitteryourls
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is YOURLS: WordPress to Twitter Safe to Use in 2026?

Generally Safe

Score 85/100

YOURLS: WordPress to Twitter has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 11yr ago
Risk Assessment

The "yourls-wordpress-to-twitter" plugin version 1.6.1 exhibits a mixed security posture. On the positive side, it demonstrates good practices by utilizing prepared statements for all SQL queries and has a clean vulnerability history with no recorded CVEs. The absence of file operations and external HTTP requests also reduces potential attack vectors. However, significant concerns arise from the attack surface analysis. All three identified AJAX handlers lack authentication checks, creating direct entry points for unauthorized actions. Furthermore, while the plugin uses nonce checks, the complete absence of capability checks for these AJAX handlers means that any authenticated user, regardless of their role or permissions, could potentially trigger these actions.

The static analysis also reveals issues with output escaping, with only 13% of outputs being properly escaped. This could lead to cross-site scripting (XSS) vulnerabilities if user-supplied data is not handled with care. The taint analysis did not reveal any unsanitized flows, which is a positive sign. Despite the lack of past vulnerabilities, the presence of unprotected AJAX endpoints and potential for XSS due to insufficient output escaping represent real, exploitable risks that should be addressed to improve the plugin's overall security.

Key Concerns

  • 3 AJAX handlers without auth checks
  • 0 Capability checks on entry points
  • Low percentage of properly escaped output
Vulnerabilities
None known

YOURLS: WordPress to Twitter Security Vulnerabilities

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

YOURLS: WordPress to Twitter Code Analysis

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

SQL Query Safety

100% prepared4 total queries

Output Escaping

13% escaped31 total outputs
Attack Surface
3 unprotected

YOURLS: WordPress to Twitter Attack Surface

Entry Points3
Unprotected3

AJAX Handlers 3

authwp_ajax_yourls-promoteplugin.php:166
authwp_ajax_yourls-resetplugin.php:167
authwp_ajax_yourls-checkplugin.php:168
WordPress Hooks 34
actionozh_yourls_admin_sectionsinc\buddypress\bp-admin.php:108
filteryourls_remote_paramsinc\buddypress\bp-groups.php:57
actionbp_before_group_header_metainc\buddypress\bp-groups.php:100
actionbp_before_group_settings_admininc\buddypress\bp-groups.php:208
filteryourls_remote_paramsinc\buddypress\bp-groups.php:252
actiongroups_group_settings_editedinc\buddypress\bp-groups.php:279
actionwpinc\buddypress\bp-integration.php:64
actionwp_headinc\buddypress\bp-integration.php:200
filteryourls_remote_paramsinc\buddypress\bp-members.php:44
actionbp_before_member_header_metainc\buddypress\bp-members.php:87
actionbp_setup_navinc\buddypress\bp-members.php:190
actionbp_template_contentinc\buddypress\bp-members.php:205
filteryourls_remote_paramsinc\buddypress\bp-members.php:296
actionbp_core_general_settings_after_saveinc\buddypress\bp-members.php:325
actionadmin_noticesinc\core.php:205
actionadmin_noticesinc\core.php:267
actionadmin_noticesinc\core.php:349
actionload-post.phpinc\options.php:25
actionload-post-new.phpinc\options.php:26
actionload-page.phpinc\options.php:27
actionload-page-new.phpinc\options.php:28
actionbp_includeplugin.php:145
actionadmin_menuplugin.php:162
actionadmin_initplugin.php:163
actionadmin_initplugin.php:164
filterozh_adminmenu_icon_ozh_yourlsplugin.php:171
actioninitplugin.php:173
actionnew_to_publishplugin.php:177
actiondraft_to_publishplugin.php:178
actionauto-draft_to_publishplugin.php:179
actionpending_to_publishplugin.php:180
actionfuture_to_publishplugin.php:181
filterpre_get_shortlinkplugin.php:184
actioninitplugin.php:187
Maintenance & Trust

YOURLS: WordPress to Twitter Maintenance & Trust

Maintenance Signals

WordPress version tested9.9
Last updatedSep 13, 2014
PHP min version
Downloads92K

Community Trust

Rating66/100
Number of ratings3
Active installs100
Developer Profile

YOURLS: WordPress to Twitter Developer Profile

Ozh

27 plugins · 5K total installs

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

How We Detect YOURLS: WordPress to Twitter

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/yourls-wordpress-to-twitter/css/style.css/wp-content/plugins/yourls-wordpress-to-twitter/js/admin.js/wp-content/plugins/yourls-wordpress-to-twitter/js/script.js
Script Paths
/wp-content/plugins/yourls-wordpress-to-twitter/js/admin.js/wp-content/plugins/yourls-wordpress-to-twitter/js/script.js
Version Parameters
yourls-wordpress-to-twitter/css/style.css?ver=yourls-wordpress-to-twitter/js/admin.js?ver=yourls-wordpress-to-twitter/js/script.js?ver=

HTML / DOM Fingerprints

HTML Comments
<!-- YOURLS: WordPress to Twitter Settings --><!-- YOURLS: Create your short url --><!-- YOURLS: If you have a custom keyword for this post -->
Data Attributes
data-yourls-reset-urldata-yourls-promote-urldata-yourls-reset-noncedata-yourls-promote-noncedata-yourls-check-nonce
JS Globals
ozh_yourls_ajax_nonceozh_yourls_opts
Shortcode Output
<a href="" rel="nofollow alternate shorturl shortlink" title="Short URL"></a>
FAQ

Frequently Asked Questions about YOURLS: WordPress to Twitter