CVE-2023-22468

Severity CVSS v4.0:
Pending analysis
Type:
CWE-79 Cross-Site Scripting (XSS)
Publication date:
26/01/2023
Last modified:
07/11/2023

Description

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*:* 2.8.13 (excluding)
cpe:2.3:a:discourse:discourse:2.9.0:beta1:*:*:beta:*:*:*
cpe:2.3:a:discourse:discourse:2.9.0:beta10:*:*:beta:*:*:*
cpe:2.3:a:discourse:discourse:2.9.0:beta11:*:*:beta:*:*:*
cpe:2.3:a:discourse:discourse:2.9.0:beta12:*:*:beta:*:*:*
cpe:2.3:a:discourse:discourse:2.9.0:beta13:*:*:beta:*:*:*
cpe:2.3:a:discourse:discourse:2.9.0:beta14:*:*:beta:*:*:*
cpe:2.3:a:discourse:discourse:2.9.0:beta2:*:*:beta:*:*:*
cpe:2.3:a:discourse:discourse:2.9.0:beta3:*:*:beta:*:*:*
cpe:2.3:a:discourse:discourse:2.9.0:beta4:*:*:beta:*:*:*
cpe:2.3:a:discourse:discourse:2.9.0:beta5:*:*:beta:*:*:*
cpe:2.3:a:discourse:discourse:2.9.0:beta6:*:*:beta:*:*:*
cpe:2.3:a:discourse:discourse:2.9.0:beta7:*:*:beta:*:*:*
cpe:2.3:a:discourse:discourse:2.9.0:beta8:*:*:beta:*:*:*
cpe:2.3:a:discourse:discourse:2.9.0:beta9:*:*:beta:*:*:*