CVE-2023-42452
Summary
| CVE | CVE-2023-42452 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2023-09-19 16:15:00 UTC |
| Updated | 2023-09-22 17:12:00 UTC |
| Description | 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. |
Risk And Classification
Problem Types: CWE-79
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Joinmastodon | Mastodon | All | All | All | All |
| Application | Joinmastodon | Mastodon | 4.2.0 | beta1 | All | All |
| Application | Joinmastodon | Mastodon | 4.2.0 | beta2 | All | All |
| Application | Joinmastodon | Mastodon | 4.2.0 | beta3 | All | All |
| Application | Joinmastodon | Mastodon | 4.2.0 | rc1 | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Merge pull request from GHSA-2693-xr3m-jhqr · mastodon/mastodon@ff32475 · GitHub | MISC | github.com | |
| Stored XSS through the translation feature · Advisory · mastodon/mastodon · GitHub | MISC | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.