Medium severity · published Oct 7, 2024
CVE-2024-47772
Discourse is an open source platform for community discussion
6.1
CVSS
0.3%
EPSS
No
On KEV
Description
Discourse is an open source platform for community discussion. An attacker can execute arbitrary JavaScript on users' browsers by sending a maliciously crafted chat message and replying to it. This issue only affects sites with CSP disabled. This problem is patched in the latest version of Discourse. All users are advised to upgrade. Users unable to upgrade should ensure CSP is enabled on the forum. Users who do upgrade should also consider enabling a CSP as well as a proactive measure.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 26% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DI
Discourse · Discourse
before 3.3.2; before 3.4.0; 3.4.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-47772
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-47772
Mitigation
https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP
Vendor Advisory
https://github.com/discourse/discourse/security/advisories/GHSA-67mh-xhmf-c56h
More from Discourse
9.9
CVE-2025-68662
FinalDestination hostname matching allows SSRF protection bypass
9.8
CVE-2025-53102
Discourse is an open-source community discussion platform
9.8
CVE-2025-48877
Discourse is an open-source discussion platform
9.8
CVE-2023-47121
Discourse is an open source platform for community discussion
9.8
CVE-2021-41163
Discourse is an open source platform for community discussion
