CVE-2024-23834Discourse
Medium 6.1 No auth needed
Follow: this CVE · Discourse · Discourse We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 44
- Auth required
- No
- Published
- Jan 30, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
Discourse is an open-source discussion platform. Improperly sanitized user input could lead to an XSS vulnerability in some situations. This vulnerability only affects Discourse instances which have disabled the default Content Security Policy. The vulnerability is patched in 3.1.5 and 3.2.0.beta5. As a workaround, ensure Content Security Policy is enabled and does not include `unsafe-inline`.
What to do
- Apply the vendor's security update for Discourse.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| discourse | discourse | < 3.1.5 |
| discourse | discourse | < 3.2.0 |
| discourse | discourse | 3.2.0 |
| discourse | discourse | 3.2.0 |
| discourse | discourse | 3.2.0 |
| discourse | discourse | 3.2.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Vendor Advisory
- meta.discourse.org Release Notes Vendor Advisory
- meta.discourse.org Release Notes Vendor Advisory