← Back to CVEs
CVE-2022-39270
MEDIUM5.4
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.
CVE Details
CVSS v3.1 Score5.4
SeverityMEDIUM
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredLOW
User InteractionREQUIRED
Published10/6/2022
Last Modified11/21/2024
Sourcenvd
Honeypot Sightings0
Affected Products
discourse:discotoc
Weaknesses (CWE)
CWE-79CWE-79
References
https://github.com/discourse/DiscoTOC/commit/f80c215a283cd045d2a371403e6eba88b2911192(security-advisories@github.com)
https://github.com/discourse/DiscoTOC/security/advisories/GHSA-m44p-w923-w32h(security-advisories@github.com)
https://github.com/discourse/DiscoTOC/commit/f80c215a283cd045d2a371403e6eba88b2911192(af854a3a-2127-422b-91ae-364da2661108)
https://github.com/discourse/DiscoTOC/security/advisories/GHSA-m44p-w923-w32h(af854a3a-2127-422b-91ae-364da2661108)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.