Skip to content
OpenAdvisories
Medium · 5.4 CVE-2023-42450 EUVD-2023-46896

Mastodon Server-Side Request Forgery vulnerability

Published Sep 19, 2023 · Updated Jun 18, 2025 · Assigned by GitHub_M

Description

Mastodon is a free, open-source social network server based on ActivityPub. Starting in version 4.2.0-beta1 and prior to version 4.2.0-rc2, by crafting specific input, attackers can inject arbitrary data into HTTP requests issued by Mastodon. This can be used to perform confused deputy attacks if the server configuration includes `ALLOWED_PRIVATE_ADDRESSES` to allow access to local exploitable services. Version 4.2.0-rc2 has a patch for the issue.

Affected products

VendorProductAffectedFixed
mastodon mastodon >= 4.2.0-beta1, < 4.2.0-rc2 —

References