BreachSpiderVerified, not vibes

CVE-2023-42450 in Joinmastodon Mastodon

High 7.5 Fix available

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

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.17.5
EPSS0.5%
EPSS percentile32th
FixAvailable

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Joinmastodon Mastodon 4.2.0

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

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

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2023-42450
BreachSpider IDBS-2023-GLOBAL-055790-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Published2023-09-19
Last modified2024-11-21
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-113: CWE-113

CWE-918: Server-Side Request Forgery (SSRF)

Attacker causes the server to make HTTP requests to attacker-chosen destinations, potentially reaching internal services.

Related attack patterns (CAPEC)

CAPEC-31 Accessing/Intercepting/Modifying HTTP Cookies via CWE-113

CAPEC-34 HTTP Response Splitting via CWE-113

CAPEC-85 AJAX Footprinting via CWE-113

CAPEC-105 HTTP Request Splitting via CWE-113

CAPEC-664 Server Side Request Forgery via CWE-918

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

CVE-2023-42450 affects Mastodon versions 4.2.0-beta1 to 4.2.0-rc1, allowing attackers to inject arbitrary data into HTTP requests, potentially leading to confused deputy attacks if certain server configurations are in place.

Attackers can craft specific input to inject arbitrary data into HTTP requests issued by Mastodon. This vulnerability can be exploited if the server configuration includes `ALLOWED_PRIVATE_ADDRESSES`, which allows access to local exploitable services.

Questions

What is CVE-2023-42450?

CVE-2023-42450 affects Mastodon versions 4.2.0-beta1 to 4.2.0-rc1, allowing attackers to inject arbitrary data into HTTP requests, potentially leading to confused deputy attacks if certain server configurations are in place.

What is the CVSS score for CVE-2023-42450?

CVE-2023-42450 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N. EPSS: 0.5%.

Is CVE-2023-42450 actively exploited?

No confirmed active exploitation of CVE-2023-42450 as of 2026-05-30.

How do I remediate CVE-2023-42450?

Priority: HIGH. PSIRT: [email protected]

What systems are affected by CVE-2023-42450?

CVE-2023-42450 affects Joinmastodon Mastodon.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Joinmastodon","product":"Mastodon","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.