Input validation error in Mastodon - CVE-2024-25623
Published: February 17, 2024 / Updated: April 23, 2026
Mastodon
Mastodon
Description
The vulnerability allows a remote user to impersonate remote accounts.
The vulnerability exists due to improper input validation in FetchRemoteStatusService when fetching remote statuses. A remote user can upload a crafted Activity Streams document to a remote server and make a Mastodon server fetch it to impersonate remote accounts.
Exploitation requires a remote server that allows account registration, accepts arbitrary user-uploaded documents on the same domain as ActivityPub actors, and serves those documents in response to requests for Activity Streams media types.