CVE-2022-21650 Stored XSS via html file upload in convos

High 7.6 Published Updated

Attackers can execute malicious scripts via stored XSS by uploading HTML files, affecting Convos chat users.

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-21650?

CVE-2022-21650 is a high-severity cross-site scripting vulnerability in convos-chat convos, published on 4 Jan 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

Convos is an open source multi-user chat that runs in a web browser. You can't use SVG extension in Convos' chat window, but you can upload a file with an .html extension. By uploading an SVG file with an html extension the upload filter can be bypassed. This causes Stored XSS. Also, after uploading a file the XSS attack is triggered upon a user viewing the file. Through this vulnerability, an attacker is capable to execute malicious scripts. Users are advised to update as soon as possible.

Weakness: CWE-79

Which versions are affected by CVE-2022-21650?

It affects 1 product.

Products include Convos Convos.

How do I fix CVE-2022-21650?

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-21650 exists.

Sources

Also known as GHSA-mm2v-4v7g-m695.

Is CVE-2022-21650 in your software?

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

Check your SBOMs for free