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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2022-46180— Arbitrary HTML injection in discourse-mermaid-theme-component

Quick assessment

Affected
discourse discourse-mermaid-theme-component
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.

Discourse是一套开源的社区讨论平台。该平台包括社区、电子邮件和聊天室等功能。 Discourse discourse-mermaid-theme-component 1.0.0版本存在跨站脚本漏洞,攻击者利用该漏洞可注入任意HTML。

CVSS 5.0 · Medium EPSS 0.47% · P39
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-46180

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
Arbitrary HTML injection in discourse-mermaid-theme-component
Source: CVE Program / CVE List V5
Vulnerability Description
Discourse Mermaid (discourse-mermaid-theme-component) allows users of Discourse, open-source forum software, to create graphs using the Mermaid syntax. Users of discourse-mermaid-theme-component version 1.0.0 who can create posts are able to inject arbitrary HTML on that post. The issue has been fixed on the `main` branch of the GitHub repository, with 1.1.0 named as a patched version. Admins can update the theme component through the admin UI. As a workaround, admins can temporarily disable discourse-mermaid-theme-component.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
输出中的特殊元素转义处理不恰当(注入)
Source: CVE Program / CVE List V5
Vulnerability Title
Discourse 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Discourse是一套开源的社区讨论平台。该平台包括社区、电子邮件和聊天室等功能。 Discourse discourse-mermaid-theme-component 1.0.0版本存在跨站脚本漏洞,攻击者利用该漏洞可注入任意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
discourse discourse-mermaid-theme-component = 1.0.0 -

II. Public POCs for CVE-2022-46180

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

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-46180

登录查看更多情报信息。

Patches & Fixes for CVE-2022-46180 (2)

Vendor Advisories for CVE-2022-46180 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2022-46180

No comments yet


Leave a comment