CVE-2022-46148Discourse
Medium 5.4
Follow: this CVE · Discourse · Discourse We alert you by email or Slack (account required).
- Priority
- 32
- CVSS 3.1
- 5.4
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 43
- Auth required
- Yes
- Published
- Nov 29, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Discourse.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| discourse | discourse | ≤ 2.8.10 |
| discourse | discourse | 2.9.0 |
| discourse | discourse | 2.9.0 |
| discourse | discourse | 2.9.0 |
| discourse | discourse | 2.9.0 |
| discourse | discourse | 2.9.0 |
| discourse | discourse | 2.9.0 |
| discourse | discourse | 2.9.0 |
| discourse | discourse | 2.9.0 |
| discourse | discourse | 2.9.0 |
| discourse | discourse | 2.9.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory