CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2022 · Discourse

CVE-2022-39270
Discourse Discotoc vulnerability

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.

Affected products

Discotoc. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Discourse Discotoc runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

References

More vulnerabilities in Discourse products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.