CVE-2022-46148: Discourse allows self-XSS through malicious composer message

Published 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.

Affected Software

11 affected components
Discourse Discourse<=2.8.10
Discourse Discourse=2.9.0-beta1
Discourse Discourse=2.9.0-beta10
Discourse Discourse=2.9.0-beta11
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

Event History

Nov 29, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:15 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

5

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.

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