CVE-2022-39270

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:discourse:discotoc:*:*:*:*:*:*:*:*

History

11 Oct 2022, 05:15

Type Values Removed Values Added
References
  • {'url': 'https://www.cve.org/CVERecord?id=CVE-2022-39270', 'name': 'https://www.cve.org/CVERecord?id=CVE-2022-39270', 'tags': [], 'refsource': 'MISC'}

11 Oct 2022, 04:15

Type Values Removed Values Added
References
  • (MISC) https://www.cve.org/CVERecord?id=CVE-2022-39270 -

07 Oct 2022, 18:05

Type Values Removed Values Added
First Time Discourse
Discourse discotoc
References (CONFIRM) https://github.com/discourse/DiscoTOC/security/advisories/GHSA-m44p-w923-w32h - (CONFIRM) https://github.com/discourse/DiscoTOC/security/advisories/GHSA-m44p-w923-w32h - Third Party Advisory
References (MISC) https://github.com/discourse/DiscoTOC/commit/f80c215a283cd045d2a371403e6eba88b2911192 - (MISC) https://github.com/discourse/DiscoTOC/commit/f80c215a283cd045d2a371403e6eba88b2911192 - Patch, Third Party Advisory
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.4
CPE cpe:2.3:a:discourse:discotoc:*:*:*:*:*:*:*:*

06 Oct 2022, 18:44

Type Values Removed Values Added
New CVE

Information

Published : 2022-10-06 18:16

Updated : 2023-12-10 14:35


NVD link : CVE-2022-39270

Mitre link : CVE-2022-39270

CVE.ORG link : CVE-2022-39270


JSON object : View

Products Affected

discourse

  • discotoc
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')