Original 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 software
- Mastodon *≥ 4.2.0 < 4.2.16< 4.1.23≥ 4.3.0 < 4.3.4 Fixed in: 4.2.16, 4.1.23, 4.3.4 repository or package match
Details
- Published
- 2025-02-27
- Last modified
- 2026-06-17
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N- CWE
- CWE-200, CWE-285
- EPSS (30-day exploit probability)
- 0.36% (percentile 30)
References
- cve.org/CVE-2025-27399
- nvd.nist.gov/vuln/detail/CVE-2025-27399
- github.com/mastodon/mastodon/blob/93f0427b8a84faf68d5d02cdf9a26f98fae16f2b/app/controllers...
- github.com/mastodon/mastodon/blob/93f0427b8a84faf68d5d02cdf9a26f98fae16f2b/app/controllers...
- github.com/mastodon/mastodon/commit/6b519cfefa93a923b19d0f20c292c7185f8fd5f5
- github.com/mastodon/mastodon/security/advisories/GHSA-94h4-fj37-c825
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.