Vulnerabilities · 2022 · Discourse
CVE-2022-46148
Discourse vulnerability
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 products
Discourse. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Discourse runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
More vulnerabilities in Discourse products
CVE-2026-24742CVE-2026-23743CVE-2026-21865CVE-2025-69289CVE-2025-69218CVE-2025-68934CVE-2025-68933CVE-2025-68666All 197
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.