CVE-2022-46148 - CVE House
Back to Database
Status published High CVE-2022-46148

Discourse allows self-XSS through malicious composer message

Vulnerability Description

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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2022-46148

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

discourse
Vulnerable Versions:
<= 2.8.10, >= 2.9.0.beta1, <= 2.9.0.beta11

Timeline

Official Publish: November 29th, 2022
Last Modified: April 23rd, 2025
Added to House: July 21st, 2026

CVSS Vectors

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

Weaknesses (CWE)