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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2022-39270— Arbitrary HTML injection in table-of-contents theme component in DiscoTOC

Quick assessment

Affected
discourse DiscoTOC
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 DiscoTOC存在跨站脚本漏洞,该漏洞源于能够在启用toc的类别中创建主题(并且具有足够的信任级别—在组件的设置中配置)的用户能够在该主题的页面中注入任意HTML。

CVSS 5.4 · Medium EPSS 0.40% · P33
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-39270

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 table-of-contents theme component in DiscoTOC
Source: CVE Program / CVE List V5
Vulnerability Description
DiscoTOC is a Discourse theme component that generates a table of contents for topics. Users that can create topics in TOC-enabled categories (and have sufficient trust level - configured in component's settings) are able to inject arbitrary HTML on that topic's page. The issue has been fixed on the `main` branch. Admins can update the theme component through the admin UI (Customize -> Themes -> Components -> DiscoTOC -> Check for Updates). Alternatively, admins can temporarily disable the DiscoTOC theme component.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/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
Discourse 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Discourse是一套开源的社区讨论平台。该平台包括社区、电子邮件和聊天室等功能。 Discourse DiscoTOC存在跨站脚本漏洞,该漏洞源于能够在启用toc的类别中创建主题(并且具有足够的信任级别—在组件的设置中配置)的用户能够在该主题的页面中注入任意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 DiscoTOC < 2.1.0 -

II. Public POCs for CVE-2022-39270

# 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-39270

登录查看更多情报信息。

Patches & Fixes for CVE-2022-39270 (1)

Vendor Advisories for CVE-2022-39270 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2022-39270

No comments yet


Leave a comment