XSS in Discourse
CVE-2023-22468
Discourse is an open source platform for community discussion. Versions prior to 2.8.13 (stable), 3.0.0.beta16 (beta) and 3.0.0beta16 (tests-passed), are vulnerable to cross-site Scripting. A maliciously crafted URL can be included in a post to carry out cross-site scripting attacks on sites with disabled or overly permissive CSP (Content Security Policy). Discourse's default CSP prevents this vulnerability. This vulnerability is patched in versions 2.8.13 (stable), 3.0.0.beta16 (beta) and 3.0.0beta16 (tests-passed). As a workaround, enable and/or restore your site's CSP to the default one provided with Discourse.
Vulnerability class: XSS (Cross-Site Scripting)
EPSS: 0.005 (40.2th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
Affected products
- Discourse — versions stable < 2.8.14, tests-passed < 3.0.0.beta16, beta < 3.0.0.beta16
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Third Party Advisory)
Frequently asked questions
- What is CVE-2023-22468?
- CVE-2023-22468 is a high-severity vulnerability in Discourse, classified under Cross-site Scripting. CVSS score: 8.8/10. Published 2023-01-26.
- How severe is CVE-2023-22468?
- High severity. CVSS v3 base score is 8.8 out of 10.