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.
Conclusion & alert: CVE-2023-36459 is rated Moderate Risk (52.9/100): CVSS Critical severity, with low exploitation likelihood (EPSS 0.22%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2025-12-28 | 0.13% | 0.22% | +0.09% |
| 2 | 2025-12-27 | 0.22% | 0.13% | -0.09% |
| 3 | 2025-12-18 | — | 0.22% | — |
Full EPSS history (20 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 9.3 | 3.1 | CRITICAL |
|
2.8 | 5.8 | [email protected] |
| 6.1 | 3.1 | MEDIUM |
|
2.8 | 2.7 | [email protected] |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| joinmastodon | mastodon | >= 1.3, < 3.5.9 | cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:* |
| joinmastodon | mastodon | >= 4.0.0, < 4.0.5 | cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:* |
| joinmastodon | mastodon | >= 4.1.0, < 4.1.3 | cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| http://www.openwall.com/lists/oss-security/2023/07/06/5 | Mailing List |
| https://github.com/mastodon/mastodon/commit/6d8e0fae3e96f3cf4febe03fa7fcf5b95ff761b2 | Patch Third Party Advisory |
| https://github.com/mastodon/mastodon/releases/tag/v3.5.9 | Third Party Advisory |
| https://github.com/mastodon/mastodon/releases/tag/v4.0.5 | Third Party Advisory |
| https://github.com/mastodon/mastodon/releases/tag/v4.1.3 | Third Party Advisory |
| https://github.com/mastodon/mastodon/security/advisories/GHSA-ccm4-vgcc-73hp | Third Party Advisory |