{"id":"CVE-2023-42452","published":"2023-09-19T15:58:44Z","modified":"2024-09-24T18:11:03Z","title":"Mastodon vulnerable to Stored XSS through the translation feature","vendor":"mastodon","product":"mastodon","tier":"tail","description":{"text":"Mastodon is a free, open-source social network server based on ActivityPub. In versions on the 4.x branch prior to versions 4.0.10, 4.2.8, and 4.2.0-rc2, under certain conditions, attackers can abuse the translation feature to bypass the server-side HTML sanitization, allowing unescaped HTML to execute in the browser. The impact is limited thanks to Mastodon's strict Content Security Policy, blocking inline scripts, etc. However a CSP bypass or loophole could be exploited to execute malicious XSS. Furthermore, it requires user interaction, as this can only occur upon clicking the “Translate” button on a malicious post. Versions 4.0.10, 4.2.8, and 4.2.0-rc2 contain a patch for this issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00438,"percentile":0.38957,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/mastodon/mastodon/security/advisories/GHSA-2693-xr3m-jhqr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/mastodon/mastodon/commit/ff32475f5f4a84ebf9619e7eef5bf8b4c075d0e2","tags":["x_refsource_MISC"]}],"priority":{"score":12.1,"factors":[{"name":"EPSS percentile","points":7.79},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"mastodon","affectedVersions":[{"vendor":"mastodon","product":"mastodon","versions":[">= 4.0.0, < 4.0.10",">= 4.1.0, < 4.1.8",">= 4.2.0-beta1, < 4.2.0-rc2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-24T18:00:36.912577Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-46898","exploited":false,"provenance":"source"}}