CVE-2022-39270

Medium

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.

SeverityMedium
CVSS5.4
Exploit probability—
ProductDiscourse Discotoc
PublishedOct 6, 2022
First seenOct 6, 2022

How to fix

Update
  • discourse discotoc2.1.0 or later

Affected products

ProductAffected versionsFixed in
discourse discotocv < 2.1.02.1.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.