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

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
mastodon mastodon
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Mastodon是一款基于ActivityPub的开源社交网络服务器。 Mastodon 3.5.14之前、4.0.10之前、4.1.8之前、4.2.0-rc2之前版本存在跨站脚本漏洞,该漏洞源于某些情况下,攻击者可以滥用翻译功能来绕过服务器端 HTML 清理,从而允许未转义的 HTML 在浏览器中执行。

CVSS 6.1 · Medium EPSS 0.44% · P36
Get alerts for future matching vulnerabilities Log 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: CVE Program / CVE List V5
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: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5
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

Vendor Product Affected Versions CPE Subscribe
mastodon mastodon >= 4.0.0, < 4.0.10 -

II. Public POCs for CVE-2023-42452

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2023-42452

请登录查看更多情报信息。

Patches & Fixes for CVE-2023-42452 (1)

Vendor Advisories for CVE-2023-42452 (1)

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

CVE-2023-42451 7.4 HIGH Mastodon Invalid Domain Name Normalization vulnerability
CVE-2023-42450 5.4 MEDIUM Mastodon Server-Side Request Forgery vulnerability

IV. Related Vulnerabilities

V. Comments for CVE-2023-42452

No comments yet


Leave a comment