What’s Vulnerable › Vulnerabilities

CVE-2025-27399: Mastodon's domain blocks & rationales ignore user approval when visibility set as "users"

Description

Mastodon is a self-hosted, federated microblogging platform. In versions prior to 4.1.23, 4.2.16, and 4.3.4, when the visibility for domain blocks/reasons is set to "users" (localized English string: "To logged-in users"), users that are not yet approved can view the block reasons. Instance admins that do not want their domain blocks to be public are impacted. Versions 4.1.23, 4.2.16, and 4.3.4 fix the issue.

Affected products

How to fix

Upgrade to a fixed version: mastodon 4.1.23, 4.2.16, 4.3.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-27399 or the next vulnerability affects your stack