Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2022-39270

5.4 · MEDIUM
Published Oct 6, 2022 discourse CWE-79 EPSS 0.40% (34th pctl)

Overview

CVE-2022-39270 is a medium-severity vulnerability affecting discourse discotoc. It was published on October 6, 2022 and has a CVSS 3.1 base score of 5.4 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.4, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories and patches from discourse. Update discotoc to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
discourse discotoc >= 0, < 2.1.0 Affected

Frequently Asked Questions

What is CVE-2022-39270?

CVE-2022-39270 is a medium-severity vulnerability affecting discourse discotoc. It was published on October 6, 2022 and has a CVSS 3.1 base score of 5.4 (MEDIUM).

How severe is CVE-2022-39270?

This vulnerability has a CVSS 3.1 base score of 5.4, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2022-39270?

Check the references section for vendor advisories and patches from discourse. Update discotoc to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2022-39270?

CyberStrike's AI-powered security agents can automatically detect CVE-2022-39270 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.