CVE-2022-39270
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.
Does this matter?
Lower severity and a low EPSS score (0.42%). Track it; it rarely justifies an emergency change on its own.
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.
- CVSS 3.1
- 5.4 MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- EPSS
- 0.42% probability · 35th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-79
- Affected
- discourse/discotoc
- Source
- security-advisories@github.com
References
- https://github.com/discourse/DiscoTOC/commit/f80c215a283cd045d2a371403e6eba88b2911192Patch, Third Party Advisory
- https://github.com/discourse/DiscoTOC/security/advisories/GHSA-m44p-w923-w32hThird Party Advisory
- https://github.com/discourse/DiscoTOC/commit/f80c215a283cd045d2a371403e6eba88b2911192Patch, Third Party Advisory
- https://github.com/discourse/DiscoTOC/security/advisories/GHSA-m44p-w923-w32hThird Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.