CVE-2023-22468

High

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.

SeverityHigh
CVSS8.8
Exploit probability—
ProductDiscourse
PublishedJan 26, 2023
First seenJan 26, 2023

How to fix

Update
  • discourse discourse2.8.13 or later

Affected products

ProductAffected versionsFixed in
discourse discoursev < 2.8.13, 2.9.0, 3.0.02.8.13

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.