CVE-2024-23834 json
Discourse improperly sanitized user input leads to XSS
published 2024-01-30 2 y ago modified 2026-09-08 2 mo ago also BIT-discourse-2024-23834 , EUVD-2024-21276 , GHSA-rj3g-8q6p-63pc
- cvss
- 6.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 42%
- public exploits
- 0
- none known
Summary
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`.
Patch / fix
- bitnami discourse 3.2.0
- discourse discourse 3.1.5, 3.2.0
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.49% chance of exploitation in the next 30 days, higher than 42% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | discourse | <3.2.0 |
3.2.0 |
Affected products
- discourse discourse
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/discourse/discourse/commit/568d704a94c528b7c2cb0f3512a7b7b606bc3000
patch
-
github.com
/discourse/discourse/security/advisories/GHSA-rj3g-8q6p-63pc
vendor-advisory, advisory
-
meta.discourse.org
/t/3-1-5-security-and-bug-fix-release/293094
release-notes, vendor-advisory, advisory
-
meta.discourse.org
/t/3-2-0-beta5-add-groups-to-dms-mobile-chat-footer-redesign-passkeys-enabled-by-default-and-more/293093
release-notes, vendor-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-23834
web
Sources
- CVE List CVE-2024-23834
- NVD CVE-2024-23834
- OSV BIT-discourse-2024-23834
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.