Description
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`.
References (4)
Core 4
Core References
Vendor Advisory x_refsource_confirm
https://github.com/discourse/discourse/security/advisories/GHSA-rj3g-8q6p-63pc
Patch x_refsource_misc
https://github.com/discourse/discourse/commit/568d704a94c528b7c2cb0f3512a7b7b606bc3000
Release Notes, Vendor Advisory x_refsource_misc
https://meta.discourse.org/t/3-1-5-security-and-bug-fix-release/293094
Release Notes, Vendor Advisory x_refsource_misc
https://meta.discourse.org/t/3-2-0-beta5-add-groups-to-dms-mobile-chat-footer-redesign-passkeys-enabled-by-default-and-more/293093
Scores
CVSS v3
6.3
EPSS
0.0051
EPSS Percentile
66.6%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-79
Status
published
Products (3)
discourse/discourse
3.2.0 beta1 (4 CPE variants)
discourse/discourse
< 3.1.5
discourse/discourse
< 3.2.0
Published
Jan 30, 2024
Tracked Since
Feb 18, 2026