
29/11/2022

23/4/2025
CVE-2022-46148: Discourse allows self-XSS through malicious composer message
First published: Tue Nov 29 2022(Updated: )
Discourse is an open-source messaging platform. In versions 2.8.10 and prior on the `stable` branch and versions 2.9.0.beta11 and prior on the `beta` and `tests-passed` branches, users composing malicious messages and navigating to drafts page could self-XSS. This vulnerability can lead to a full XSS on sites which have modified or disabled Discourse’s default Content Security Policy. This issue is patched in the latest stable, beta and tests-passed versions of Discourse.
Credit: security-advisories@github.com security-advisories@github.com
Affected Software | Affected Version | How to fix |
---|
Discourse | <=2.8.10 | |
Discourse | =2.9.0-beta1 | |
Discourse | =2.9.0-beta10 | |
Discourse | =2.9.0-beta11 | |
Discourse | =2.9.0-beta2 | |
Discourse | =2.9.0-beta3 | |
Discourse | =2.9.0-beta4 | |
Discourse | =2.9.0-beta5 | |
Discourse | =2.9.0-beta6 | |
Discourse | =2.9.0-beta7 | |
Discourse | =2.9.0-beta8 | |
Never miss a vulnerability like this again
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
Frequently Asked Questions
What is the severity of CVE-2022-46148?
CVE-2022-46148 is classified as a moderate severity vulnerability due to the potential for self-XSS attacks.
How do I fix CVE-2022-46148?
To fix CVE-2022-46148, update your Discourse installation to version 2.8.11 or later, or to version 2.9.0.beta12 or later.
Who is affected by CVE-2022-46148?
CVE-2022-46148 affects users of Discourse versions 2.8.10 and prior on the stable branch and 2.9.0.beta11 and prior on the beta and tests-passed branches.
What type of vulnerability is CVE-2022-46148?
CVE-2022-46148 is a self-XSS vulnerability that allows users to execute scripts in their own browser session.
What can I do to mitigate the risks associated with CVE-2022-46148?
To mitigate risks associated with CVE-2022-46148, avoid clicking on unsolicited links and ensure your Discourse installation is updated promptly.
- agent/type
- collector/mitre-cve
- source/MITRE
- agent/title
- agent/severity
- agent/weakness
- agent/references
- agent/first-publish-date
- agent/description
- agent/author
- agent/last-modified-date
- agent/softwarecombine
- agent/event
- agent/source
- agent/tags
- collector/nvd-api
- source/NVD
- agent/software-canonical-lookup
- agent/software-canonical-lookup-request
- collector/nvd-index
- vendor/discourse
- canonical/discourse
- version/discourse/2.8.10
- version/discourse/2.9.0-beta1
- version/discourse/2.9.0-beta10
- version/discourse/2.9.0-beta11
- version/discourse/2.9.0-beta2
- version/discourse/2.9.0-beta3
- version/discourse/2.9.0-beta4
- version/discourse/2.9.0-beta5
- version/discourse/2.9.0-beta6
- version/discourse/2.9.0-beta7
- version/discourse/2.9.0-beta8
Contact
SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.coBy 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203