Vulnerability Details : CVE-2023-36459
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.
Vulnerability category: Cross site scripting (XSS)
Products affected by CVE-2023-36459
- cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:*
- cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:*
- cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-36459
0.12%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 33 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-36459
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.1
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
2.8
|
2.7
|
NIST | |
9.3
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N |
2.8
|
5.8
|
GitHub, Inc. |
CWE ids for CVE-2023-36459
-
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.Assigned by: security-advisories@github.com (Primary)
References for CVE-2023-36459
-
https://github.com/mastodon/mastodon/releases/tag/v3.5.9
Release v3.5.9 · mastodon/mastodon · GitHubThird Party Advisory
-
https://github.com/mastodon/mastodon/releases/tag/v4.0.5
Release v4.0.5 · mastodon/mastodon · GitHubThird Party Advisory
-
https://github.com/mastodon/mastodon/releases/tag/v4.1.3
Release v4.1.3 · mastodon/mastodon · GitHubThird Party Advisory
-
https://github.com/mastodon/mastodon/commit/6d8e0fae3e96f3cf4febe03fa7fcf5b95ff761b2
Merge pull request from GHSA-ccm4-vgcc-73hp · mastodon/mastodon@6d8e0fa · GitHubPatch;Third Party Advisory
-
http://www.openwall.com/lists/oss-security/2023/07/06/5
oss-security - CVE-2023-36459: mastodon: XSS through oEmbed preview cardsMailing List
-
https://github.com/mastodon/mastodon/security/advisories/GHSA-ccm4-vgcc-73hp
XSS through oEmbed preview cards · Advisory · mastodon/mastodon · GitHubThird Party Advisory
Jump to