{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2023-42452","published":"2023-09-19T16:15:13.630000Z","last_modified":"2026-06-17T06:23:51.647000Z","status":"Modified","cvss":{"version":"3.1","score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:*","part":"a","vendor":"joinmastodon","product":"mastodon","version_start_including":"4.0.0","version_end_excluding":"4.0.10"},{"criteria":"cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:*","part":"a","vendor":"joinmastodon","product":"mastodon","version_start_including":"4.1.0","version_end_excluding":"4.1.8"},{"criteria":"cpe:2.3:a:joinmastodon:mastodon:4.2.0:beta1:*:*:*:*:*:*","part":"a","vendor":"joinmastodon","product":"mastodon","version":"4.2.0"},{"criteria":"cpe:2.3:a:joinmastodon:mastodon:4.2.0:beta2:*:*:*:*:*:*","part":"a","vendor":"joinmastodon","product":"mastodon","version":"4.2.0"},{"criteria":"cpe:2.3:a:joinmastodon:mastodon:4.2.0:beta3:*:*:*:*:*:*","part":"a","vendor":"joinmastodon","product":"mastodon","version":"4.2.0"},{"criteria":"cpe:2.3:a:joinmastodon:mastodon:4.2.0:rc1:*:*:*:*:*:*","part":"a","vendor":"joinmastodon","product":"mastodon","version":"4.2.0"}],"cpes_truncated":false,"vendors":["joinmastodon"],"products":["joinmastodon/mastodon"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00471,"percentile":0.32976,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":32,"links":{"html_es":"/es/cve/CVE-2023-42452/","html_en":"/en/cve/CVE-2023-42452/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-42452","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-42452"},"untrusted":{"vendor_name":"Joinmastodon","product_name":"Mastodon","desc_en":"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.","affected":[{"untrusted_vendor":"mastodon","untrusted_product":"mastodon","versions":[]}],"references":[{"url":"https://github.com/mastodon/mastodon/commit/ff32475f5f4a84ebf9619e7eef5bf8b4c075d0e2","tags":["Patch"]},{"url":"https://github.com/mastodon/mastodon/security/advisories/GHSA-2693-xr3m-jhqr","tags":["Vendor Advisory"]}]}}