Mastodon Auto Share Security & Risk Analysis

wordpress.org/plugins/wp-mastodon-share

Publish your posts on your Mastodon's instance.

100 active installs v1.4 PHP + WP + Updated May 29, 2022
mastodonpostsscheduleshare
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Mastodon Auto Share Safe to Use in 2026?

Generally Safe

Score 85/100

Mastodon Auto Share has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 3yr ago
Risk Assessment

The wp-mastodon-share plugin v1.4 exhibits a mixed security posture. On the positive side, it demonstrates good practices by having no known CVEs and using prepared statements for all SQL queries. The absence of exposed entry points like AJAX handlers, REST API routes, or shortcodes without proper authentication or permission checks is also a significant strength.

However, several concerning signals emerge from the static analysis. The presence of the `unserialize` function is a critical risk, as it can lead to Remote Code Execution if used with untrusted user input. While the taint analysis did not flag critical or high-severity issues, it did identify two flows with unsanitized paths, which could potentially be exploited in conjunction with other vulnerabilities or through unexpected input vectors. Furthermore, the low percentage (10%) of properly escaped output is a significant concern, indicating a high likelihood of Cross-Site Scripting (XSS) vulnerabilities.

The lack of vulnerability history for this plugin is a positive indicator, suggesting a history of responsible development or that it hasn't been a target. However, this should not be seen as a complete guarantee of security, especially given the identified code signals. The plugin has strengths in its limited attack surface and SQL handling but weaknesses in output escaping and the risky use of `unserialize`.

Key Concerns

  • Use of unserialize()
  • Low percentage of properly escaped output
  • Flows with unsanitized paths found
  • No capability checks
Vulnerabilities
None known

Mastodon Auto Share Security Vulnerabilities

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

Mastodon Auto Share Code Analysis

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

Dangerous Functions Found

unserialize$notice = unserialize( get_option( 'mastoshare-notice' ) );wp-mastodon-share.php:365

Bundled Libraries

TinyMCE

Output Escaping

10% escaped21 total outputs
Data Flows
2 unsanitized

Data Flow Analysis

4 flows2 with unsanitized paths
<form.tpl> (form.tpl.php:0)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Mastodon Auto Share Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 9
actionplugins_loadedwp-mastodon-share.php:20
actionadmin_enqueue_scriptswp-mastodon-share.php:21
actionadmin_menuwp-mastodon-share.php:22
actionsave_postwp-mastodon-share.php:23
actionadmin_noticeswp-mastodon-share.php:24
actionadd_meta_boxeswp-mastodon-share.php:25
actiontiny_mce_before_initwp-mastodon-share.php:26
actionpublish_future_postwp-mastodon-share.php:27
actionadmin_noticeswp-mastodon-share.php:296
Maintenance & Trust

Mastodon Auto Share Maintenance & Trust

Maintenance Signals

WordPress version tested4.9.29
Last updatedMay 29, 2022
PHP min version
Downloads8K

Community Trust

Rating82/100
Number of ratings9
Active installs100
Developer Profile

Mastodon Auto Share Developer Profile

Alexis Gilard

1 plugin · 100 total installs

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

How We Detect Mastodon Auto Share

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/wp-mastodon-share/style.css/wp-content/plugins/wp-mastodon-share/js/toot_editor.js/wp-content/plugins/wp-mastodon-share/js/settings_page.js
Script Paths
/wp-content/plugins/wp-mastodon-share/js/toot_editor.js/wp-content/plugins/wp-mastodon-share/js/settings_page.js
Version Parameters
wp-mastodon-share/style.css?ver=wp-mastodon-share/js/toot_editor.js?ver=wp-mastodon-share/js/settings_page.js?ver=

HTML / DOM Fingerprints

CSS Classes
mastoshare-settings-page
Data Attributes
data-instancedata-client-iddata-client-secretdata-redirect-uri
JS Globals
mastoshare_init_settings_page
FAQ

Frequently Asked Questions about Mastodon Auto Share