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

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 31% of CVEs (2026-12-01)
- Published: 2025-02-27T17:15:05.208Z
- Modified: 2026-09-08T08:48:12.916Z
- Also known as: BIT-MASTODON-2025-27399, GHSA-94h4-fj37-c825
- Weaknesses: CWE-200, CWE-285
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- mastodon mastodon: < 4.1.23; >= 4.2.0, < 4.2.16; >= 4.3.0, < 4.3.4
- joinmastodon mastodon: before 4.1.23; from 4.2.0 before 4.2.16; from 4.3.0 before 4.3.4
- mastodon (Bitnami): before 4.3.4

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/mastodon/mastodon/security/advisories/GHSA-94h4-fj37-c825> (advisory, vendor-advisory)
- <https://github.com/mastodon/mastodon/commit/6b519cfefa93a923b19d0f20c292c7185f8fd5f5> (fix, patch)
- <https://github.com/mastodon/mastodon/blob/93f0427b8a84faf68d5d02cdf9a26f98fae16f2b/app/controllers/api/v1/instances/domain_blocks_controller.rb#L33-L35> (product, web)
- <https://github.com/mastodon/mastodon/blob/93f0427b8a84faf68d5d02cdf9a26f98fae16f2b/app/controllers/api/v1/instances/domain_blocks_controller.rb#L49-L51> (product, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-27399> (web)

## Sources

- CVE List: [CVE-2025-27399](https://www.cve.org/CVERecord?id=CVE-2025-27399), CVE Terms of Use, modified 2025-02-27
- NVD: [CVE-2025-27399](https://nvd.nist.gov/vuln/detail/CVE-2025-27399), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MASTODON-2025-27399](https://osv.dev/vulnerability/BIT-MASTODON-2025-27399), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2025-27399 · Whole record: https://cve.day/CVE-2025-27399.json · Rebuilt by cve.day 2026-11-25T22:58:54.599Z
