CVE-2023-36459Joinmastodon Mastodon
Medium 6.1 No auth needed
Follow: this CVE · Joinmastodon · Joinmastodon Mastodon We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 55
- Auth required
- No
- Published
- Jul 6, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
Mastodon is a free, open-source social network server based on ActivityPub. Starting in version 1.3 and prior to versions 3.5.9, 4.0.5, and 4.1.3, an attacker using carefully crafted oEmbed data can bypass the HTML sanitization performed by Mastodon and include arbitrary HTML in oEmbed preview cards. This introduces a vector for cross-site scripting (XSS) payloads that can be rendered in the user's browser when a preview card for a malicious link is clicked through. Versions 3.5.9, 4.0.5, and 4.1.3 contain a patch for this issue.
What to do
- Apply the vendor's security update for Mastodon.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| joinmastodon | mastodon | ≥ 1.3 < 3.5.9 |
| joinmastodon | mastodon | ≥ 4.0.0 < 4.0.5 |
| joinmastodon | mastodon | ≥ 4.1.0 < 4.1.3 |
Official sources
References
Links published by the sources. Open them with care.
- www.openwall.com Mailing List
- github.com Patch Third Party Advisory
- github.com Third Party Advisory
- github.com Third Party Advisory
- github.com Third Party Advisory
- github.com Third Party Advisory