# CVE-2023-42451: Mastodon Invalid Domain Name Normalization vulnerability

- Severity: High 7.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.67%, higher than 53% of CVEs (2026-12-01)
- Published: 2023-09-19T15:56:46.962Z
- Modified: 2026-09-08T08:48:13.014Z
- Also known as: BIT-MASTODON-2023-42451, GHSA-v3xf-c9qf-j667
- Weaknesses: CWE-706
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- mastodon mastodon: < 3.5.14; >= 4.0.0, < 4.0.10; >= 4.1.0, < 4.1.8; >= 4.2.0-beta1, < 4.2.0-rc2
- joinmastodon mastodon: before 3.5.14; from 4.0.0 before 4.0.10; from 4.1.0 before 4.1.8; 4.2.0
- mastodon (Bitnami): before 3.5.14; from 4.0.0 before 4.0.10; from 4.1.0 before 4.1.8

## Every score

- GitHub_M: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/mastodon/mastodon/security/advisories/GHSA-v3xf-c9qf-j667> (advisory, vendor-advisory)
- <https://github.com/mastodon/mastodon/commit/eeab3560fc0516070b3fb97e089b15ecab1938c8> (fix, patch)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-42451> (web)

## Sources

- CVE List: [CVE-2023-42451](https://www.cve.org/CVERecord?id=CVE-2023-42451), CVE Terms of Use, modified 2024-09-24
- NVD: [CVE-2023-42451](https://nvd.nist.gov/vuln/detail/CVE-2023-42451), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MASTODON-2023-42451](https://osv.dev/vulnerability/BIT-MASTODON-2023-42451), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2023-42451 · Whole record: https://cve.day/CVE-2023-42451.json · Rebuilt by cve.day 2026-11-25T22:58:27.996Z
