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

Published Jan 26, 2023
·
Updated

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.

Affected Software

16 affected components
Discourse Discourse<2.8.13
Discourse Discourse=2.9.0-beta1
Discourse Discourse=2.9.0-beta10
Discourse Discourse=2.9.0-beta11
Discourse Discourse=2.9.0-beta12
Discourse Discourse=2.9.0-beta13
Discourse Discourse=2.9.0-beta14
Discourse Discourse=2.9.0-beta2
Discourse Discourse=2.9.0-beta3
Discourse Discourse=2.9.0-beta4
Discourse Discourse=2.9.0-beta5
Discourse Discourse=2.9.0-beta6
Discourse Discourse=2.9.0-beta7
Discourse Discourse=2.9.0-beta8
Discourse Discourse=2.9.0-beta9
Discourse Discourse=3.0.0-beta15

Event History

Jan 26, 2023
CVE Published
via MITRE·08:31 AM
Data Sourced
via MITRE·08:31 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is CVE-2023-22468?

CVE-2023-22468 is a vulnerability in Discourse, an open source platform for community discussion, which allows cross-site scripting attacks.

2

How severe is CVE-2023-22468?

CVE-2023-22468 has a severity rating of high (5.4).

3

What software versions are affected by CVE-2023-22468?

Versions prior to 2.8.13 (stable), 3.0.0.beta16 (beta), and 3.0.0.beta16 (tests-passed) of Discourse are affected by CVE-2023-22468.

4

How can I fix CVE-2023-22468?

To fix CVE-2023-22468, you should update your Discourse installation to version 2.8.13 (stable), 3.0.0.beta16 (beta), or 3.0.0.beta16 (tests-passed) or later.

5

Where can I find more information about CVE-2023-22468?

You can find more information about CVE-2023-22468 in the official GitHub advisory: [link](https://github.com/discourse/discourse/security/advisories/GHSA-8mr2-xf8r-wr8m).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203