Read the docs
TI-2022-18646 Aliases CVE-2022-39270

Arbitrary HTML injection in table-of-contents theme component in DiscoTOC

Priority LOW 25CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-79.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00494 42nd percentileScored 2026-11-07
Fix Fixed DiscoTOC (discourse): 2.1.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
discourseDiscoTOCbefore 2.1.02.1.0Patch availableCNA
  • DiscoTOC Vendordiscourse Affected before 2.1.0 Fixed in 2.1.0 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:discourse:discotoc:*:*:*:*:*:*:*:*before 2.1.0Vulnerablediscourse
  • cpe:2.3:a:discourse:discotoc:*:*:*:*:*:*:*:* Versions before 2.1.0 Vulnerable ·discourse

Remediation

  • Fix · CNA DiscoTOC (discourse) Fixed in 2.1.0

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-39270

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences