XSS in Discourse
CVE-2024-35234
Discourse is an open-source discussion platform. Prior to version 3.2.3 on the `stable` branch and version 3.3.0.beta3 on the `tests-passed` branch, an attacker can execute arbitrary JavaScript on users’ browsers by posting a specific URL containing maliciously crafted meta tags. This issue only affects sites with Content Security Polic (CSP) disabled. The problem has been patched in version 3.2.3 on the `stable` branch and version 3.3.0.beta3 on the `tests-passed` branch. As a workaround, ensure CSP is enabled on the forum.
Vulnerability class: XSS (Cross-Site Scripting)
EPSS: 0.003 (25.8th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 4.2 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:L.
Affected products
- Discourse — versions tests-passed < 3.3.0.beta3, stable < 3.2.3, 3.3.0
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Third Party Advisory)
- security-advisories@github.com (Patch, x_refsource_MISC)
- security-advisories@github.com (Patch, x_refsource_MISC)
Frequently asked questions
- What is CVE-2024-35234?
- CVE-2024-35234 is a medium-severity vulnerability in Discourse, classified under Cross-site Scripting. CVSS score: 4.2/10. Published 2024-07-03.
- How severe is CVE-2024-35234?
- Medium severity. CVSS v3 base score is 4.2 out of 10.