CVE-2022-36057 Discourse-Chat Cross-Site Scripting issue for channel names and descriptions

Medium 5.4 Published Updated

Admins can inject HTML into chat titles and descriptions, leading to Cross-Site Scripting attacks against users of the Discourse Chat plugin.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2022-36057?

CVE-2022-36057 is a medium-severity cross-site scripting vulnerability in discourse-chat, published on 6 Sep 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Discourse-Chat is an asynchronous messaging plugin for the Discourse open-source discussion platform. Users of Discourse Chat can be affected by admin users inserting HTML into chat titles and descriptions, causing a Cross-Site Scripting (XSS) attack. Version 0.9 contains a patch for this issue.

Weakness: CWE-80, CWE-79

Which versions are affected by CVE-2022-36057?

It affects 1 product.

Products include Discourse Discourse-Chat.

How do I fix CVE-2022-36057?

No fix has been published for CVE-2022-36057 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-36057 being exploited?

There is no known exploitation of CVE-2022-36057 in the wild and no public exploit code.

Sources

Is CVE-2022-36057 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free