Mastodon is a free, open-source social network server based on ActivityPub Mastodon allows configuration of LDAP for authentication. Due to insufficient origin validation in all Mastodon, attackers can impersonate and take over any remote account. Every Mastodon version prior to 3.5.17 is vulnerable, as well as 4.0.x versions prior to 4.0.13, 4.1.x version prior to 4.1.13, and 4.2.x versions prior to 4.2.5.
https://github.com/mastodon/mastodon/security/advisories/GHSA-3fjr-858r-92rw
https://github.com/mastodon/mastodon/commit/1726085db5cd73dd30953da858f9887bcc90b958