CVE-2022-39279 Discourse-chat plugin susceptible to XSS in channel name and description
Staff members can execute arbitrary scripts via XSS in chat channel names and descriptions, requiring an upgrade to the Discourse-chat plugin.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2022-39279?
CVE-2022-39279 is a medium-severity cross-site scripting vulnerability in discourse-chat, published on 6 Oct 2022. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
discourse-chat is a plugin for the Discourse message board which adds chat functionality. In versions prior to 0.9 some places render a chat channel's name and description in an unsafe way, allowing staff members to cause an cross site scripting (XSS) attack by inserting unsafe HTML into them. Version 0.9 has addressed this issue. Users are advised to upgrade. There are no known workarounds for this issue.
Weakness: CWE-79
Which versions are affected by CVE-2022-39279?
It affects 1 product.
Products include Discourse Discourse-Chat.
How do I fix CVE-2022-39279?
No fix has been published for CVE-2022-39279 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2022-39279 being exploited?
There is no known exploitation of CVE-2022-39279 in the wild and no public exploit code.
Other vulnerabilities in discourse-chat
Sources
Also known as GHSA-qp62-8m3c-9jgj.