Mastodon Autopost Security & Risk Analysis

wordpress.org/plugins/autopost-to-mastodon

A Wordpress Plugin that automatically posts your new articles to Mastodon. The best: It is set and forget!

800 active installs v3.7 PHP + WP 4.6+ Updated May 7, 2023
federated-webgnu-socialmastdon-autopostmastodon
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Mastodon Autopost Safe to Use in 2026?

Generally Safe

Score 85/100

Mastodon Autopost 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 "autopost-to-mastodon" plugin v3.7 exhibits a generally good security posture with no known past vulnerabilities or CVEs, suggesting a history of responsible development. The absence of critical or high severity taint flows, along with the proper use of prepared statements for SQL queries, are positive indicators. However, the static analysis reveals significant areas for improvement. The presence of the `unserialize` function is a notable concern, as it can lead to Remote Code Execution (RCE) vulnerabilities if the serialized data is controllable by an attacker. While the plugin has an AJAX handler, it lacks capability checks, which, combined with the `unserialize` function, presents a potential risk if an attacker can influence the data passed to this handler. Furthermore, only 10% of outputs are properly escaped, indicating a risk of Cross-Site Scripting (XSS) vulnerabilities. The plugin also performs external HTTP requests, which could be exploited for SSRF or other attacks if not handled carefully.

Key Concerns

  • Use of unserialize function
  • AJAX handler without capability checks
  • Low percentage of properly escaped output
  • Unsanitized paths in taint analysis
Vulnerabilities
None known

Mastodon Autopost Security Vulnerabilities

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

Mastodon Autopost Release Timeline

v3.7Current
v3.6.7
v3.6.6
v3.6.5
v3.6.4
v3.6.3
v3.6.2
v3.6.1
v3.6
v3.5
v3.4
v3.3.4
v3.3.3
v3.3.2
v3.3
v3.2.8
v3.2.7.5
v3.2.7.1
v3.2.7
v3.2.6
Code Analysis
Analyzed Mar 16, 2026

Mastodon Autopost Code Analysis

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

Dangerous Functions Found

unserialize$notice = unserialize(get_option('autopostToMastodon-notice'));mastodon_autopost.php:476

Output Escaping

10% escaped21 total outputs
Data Flows · Security
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 Autopost Attack Surface

Entry Points1
Unprotected0

AJAX Handlers 1

authwp_ajax_get_toot_previewmastodon_autopost.php:27
WordPress Hooks 8
actionplugins_loadedmastodon_autopost.php:20
actionadmin_enqueue_scriptsmastodon_autopost.php:21
actionadmin_menumastodon_autopost.php:22
actionsave_postmastodon_autopost.php:23
actionadmin_noticesmastodon_autopost.php:24
actionadd_meta_boxesmastodon_autopost.php:25
actionpublish_future_postmastodon_autopost.php:26
actionadmin_noticesmastodon_autopost.php:401
Maintenance & Trust

Mastodon Autopost Maintenance & Trust

Maintenance Signals

WordPress version tested6.1.10
Last updatedMay 7, 2023
PHP min version
Downloads25K

Community Trust

Rating84/100
Number of ratings21
Active installs800
Developer Profile

Mastodon Autopost Developer Profile

Simon Frey

1 plugin · 800 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 Autopost

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

Asset Fingerprints

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

HTML / DOM Fingerprints

HTML Comments
<!-- Do you know a bette solution to get if we are in our own settings page? -->
Data Attributes
data-wp-noncedata-actiondata-param
JS Globals
autopost_to_mastodon_ajax_object
REST Endpoints
/wp-json/autopost-to-mastodon/v1/preview
FAQ

Frequently Asked Questions about Mastodon Autopost