CVE-2022-46148 HIGH

CVE-2022-46148: Discourse allows self-XSS through malicious composer message

Vendor Discourse
Product discourse
Weakness CWE-79 · XSS
Published November 29, 2022
Last update April 23, 2025

CVSS base score

7.1/10
Attack vector Network
Attack complexity High
Privileges required Low
User interaction Required
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H

What the vulnerability does

01Description

Discourse is an open-source messaging platform. In versions 2.8.10 and prior on the `stable` branch and versions 2.9.0.beta11 and prior on the `beta` and `tests-passed` branches, users composing malicious messages and navigating to drafts page could self-XSS. This vulnerability can lead to a full XSS on sites which have modified or disabled Discourse’s default Content Security Policy. This issue is patched in the latest stable, beta and tests-passed versions of Discourse.

Key dates

02Disclosure timeline

November 29, 2022 CVE published
April 23, 2025 Record updated

Related vulnerabilities

04Related CVE