CVE-2020-8189 Cross-site scripting in Desktop Client

Medium 5.4 Published Updated

An attacker can inject HTML or local links via invalid login responses in the Nextcloud Desktop Client, 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-2020-8189?

CVE-2020-8189 is a medium-severity cross-site scripting vulnerability in Desktop Client, published on 21 Aug 2020. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

A cross-site scripting error in Nextcloud Desktop client 2.6.4 allowed to present any html (including local links) when responding with invalid data on the login attempt.

Weakness: CWE-79

Which versions are affected by CVE-2020-8189?

It affects 1 product.

Products include Nextcloud Desktop.

How do I fix CVE-2020-8189?

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-2020-8189 being exploited?

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

Sources

Also known as DEBIAN-CVE-2020-8189, GHSA-vc58-g8xx-fx3p, UBUNTU-CVE-2020-8189.

Is CVE-2020-8189 in your software?

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

Check your SBOMs for free