XSS in Discourse
CVE-2024-47772
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.
Vulnerability class: XSS (Cross-Site Scripting)
EPSS: 0.003 (26.5th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L.
Affected products
- Discourse — versions stable: < 3.3.2, 3.4.0, tests-passed: < 3.4.0.beta2
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Vendor Advisory)
- security-advisories@github.com (Third Party Advisory, x_refsource_MISC, Mitigation)
Frequently asked questions
- What is CVE-2024-47772?
- CVE-2024-47772 is a medium-severity vulnerability in Discourse, classified under Cross-site Scripting. CVSS score: 6.5/10. Published 2024-10-07.
- How severe is CVE-2024-47772?
- Medium severity. CVSS v3 base score is 6.5 out of 10.