Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2023-42452— Mastodon vulnerable to Stored XSS through the translation feature

CVSS 6.1 · Medium EPSS 0.64% · P71
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2023-42452

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Mastodon vulnerable to Stored XSS through the translation feature
Source: NVD (National Vulnerability Database)
Vulnerability 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.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Source: NVD (National Vulnerability Database)
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: NVD (National Vulnerability Database)
Vulnerability Title
Mastodon 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Mastodon是一款基于ActivityPub的开源社交网络服务器。 Mastodon 3.5.14之前、4.0.10之前、4.1.8之前、4.2.0-rc2之前版本存在跨站脚本漏洞,该漏洞源于某些情况下,攻击者可以滥用翻译功能来绕过服务器端 HTML 清理,从而允许未转义的 HTML 在浏览器中执行。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
mastodonmastodon >= 4.0.0, < 4.0.10 -

II. Public POCs for CVE-2023-42452

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2023-42452

登录查看更多情报信息。

Same Patch Batch · mastodon · 2023-09-19 · 3 CVEs total

CVE-2023-424517.4 HIGHMastodon Invalid Domain Name Normalization vulnerability
CVE-2023-424505.4 MEDIUMMastodon Server-Side Request Forgery vulnerability

IV. Related Vulnerabilities

V. Comments for CVE-2023-42452

No comments yet


Leave a comment