CVE-2022-39332 Cross-site scripting (XSS) in Nextcloud Desktop Client

Medium 4.6 Published Updated

An attacker can inject arbitrary HTML into the Nextcloud Desktop Client via user status, potentially leading to code execution or security bypass.

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
Available

What is CVE-2022-39332?

CVE-2022-39332 is a medium-severity cross-site scripting vulnerability in nextcloud security-advisories, published on 25 Nov 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

Nexcloud desktop is the Desktop sync client for Nextcloud. An attacker can inject arbitrary HyperText Markup Language into the Desktop Client application via user status and information. It is recommended that the Nextcloud Desktop client is upgraded to 3.6.1. There are no known workarounds for this issue.

Weakness: CWE-79

Which versions are affected by CVE-2022-39332?

It affects 1 product.

Products include Nextcloud Desktop.

How do I fix CVE-2022-39332?

Upgrade to a fixed version.

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-39332 being exploited?

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

Sources

Also known as DEBIAN-CVE-2022-39332, GHSA-q9f6-4r6r-h74p, UBUNTU-CVE-2022-39332.

Is CVE-2022-39332 in your software?

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

Check your SBOMs for free