CVE-2023-42451 in Joinmastodon Mastodon
Mastodon is a free, open-source social network server based on ActivityPub. Prior to versions 3.5.14, 4.0.10, 4.1.8, and 4.2.0-rc2, under certain circumstances, attackers can exploit a flaw in domain name normalization to spoof domains they do not own. Versions 3.5.14, 4.0.10, 4.1.8, and 4.2.0-rc2 contain a patch fo...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Joinmastodon | Mastodon | 4.2.0 < 3.5.14 ≥ 4.0.0, < 4.0.10 ≥ 4.1.0, < 4.1.8 |
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-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Mastodon is a free, open-source social network server based on ActivityPub. Prior to versions 3.5.14, 4.0.10, 4.1.8, and 4.2.0-rc2, under certain circumstances, attackers can exploit a flaw in domain name normalization to spoof domains they do not own. Versions 3.5.14, 4.0.10, 4.1.8, and 4.2.0-rc2 contain a patch for this issue.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2023-42451 |
|---|---|
| BreachSpider ID | BS-2023-GLOBAL-345006-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| Published | 2023-09-19 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-706: CWE-706
Related attack patterns (CAPEC)
CAPEC-177 Create files with the same name as files protected with a higher classification via CWE-706
CAPEC-641 DLL Side-Loading via CWE-706
CAPEC-48 Passing Local Filenames to Functions That Expect a URL via CWE-706
CAPEC-159 Redirect Access to Libraries via CWE-706
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A flaw in domain name normalization in Mastodon versions prior to 3.5.14, 4.0.10, 4.1.8, and 4.2.0-rc2 allows attackers to spoof domains they do not own, potentially leading to unauthorized access or phishing attacks.
Attackers can exploit a domain name normalization flaw to create URLs that appear to be from trusted domains but actually point to malicious or unauthorized servers. This can be used to trick users into visiting malicious sites or to perform other phishing attacks.
Questions
What is CVE-2023-42451?
A flaw in domain name normalization in Mastodon versions prior to 3.5.14, 4.0.10, 4.1.8, and 4.2.0-rc2 allows attackers to spoof domains they do not own, potentially leading to unauthorized access or phishing attacks.
What is the CVSS score for CVE-2023-42451?
CVE-2023-42451 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N. EPSS: 0.6%.
Is CVE-2023-42451 actively exploited?
No confirmed active exploitation of CVE-2023-42451 as of 2026-09-25.
How do I remediate CVE-2023-42451?
Priority: HIGH. PSIRT: [email protected]
What systems are affected by CVE-2023-42451?
CVE-2023-42451 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"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.