XSS in Discourse

CVE-2022-46148

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.

Vulnerability class: XSS (Cross-Site Scripting)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.005 (39.4th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 39th percentile — 39.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2022-46148: held from 0.005 to 0.005.

EPSS over last 30 days · oldest: 0.005 · newest: 0.005 · change: +0.000

Affected products

  • Discourse — versions <= 2.8.10, >= 2.9.0.beta1, <= 2.9.0.beta11, 2.9.0

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2022-46148?
CVE-2022-46148 is a high-severity vulnerability in Discourse, classified under Cross-site Scripting. CVSS score: 7.1/10. Published 2022-11-29.
How severe is CVE-2022-46148?
High severity. CVSS v3 base score is 7.1 out of 10.