Skip to content

CVE-2023-22468 Discourse vulnerable to Cross-site Scripting in local oneboxes

MediumCVSS 5.4 EPSS 0.65%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
discourse < 2.8.13; = 2.9.0-beta1; = 2.9.0-beta2; = 2.9.0-beta3 +15 more 2.8.13 Fixed

Affected products

ProductAffected versionsFixed in
discourse = stable < 2.8.14 No fix listed
discourse = beta < 3.0.0.beta16 No fix listed
discourse = tests-passed < 3.0.0.beta16 No fix listed
discourse < 2.8.13 2.8.13
discourse = 2.9.0-beta1 No fix listed
discourse = 2.9.0-beta10 No fix listed
discourse = 2.9.0-beta11 No fix listed
discourse = 2.9.0-beta12 No fix listed
discourse = 2.9.0-beta13 No fix listed
discourse = 2.9.0-beta14 No fix listed
discourse = 2.9.0-beta2 No fix listed
discourse = 2.9.0-beta3 No fix listed
discourse = 2.9.0-beta4 No fix listed
discourse = 2.9.0-beta5 No fix listed
discourse = 2.9.0-beta6 No fix listed
discourse = 2.9.0-beta7 No fix listed
discourse = 2.9.0-beta8 No fix listed
discourse = 2.9.0-beta9 No fix listed
discourse = 3.0.0-beta15 No fix listed

References