CVE-2022-46148: Discourse allows self-XSS through malicious composer message
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.
Affected Software
Event History
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.