CVE-2020-8155 Cross-site scripting in Nextcloud Server

Medium 5.4 Published Updated

An outdated library in Nextcloud's PDF viewer allows attackers to execute scripts via malicious PDFs, potentially compromising user accounts.

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

CVE-2020-8155 is a medium-severity cross-site scripting vulnerability in Nextcloud Nextcloud Server, published on 12 May 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

An outdated 3rd party library in the Files PDF viewer for Nextcloud Server 18.0.2 caused a Cross-site scripting vulnerability when opening a malicious PDF.

Weakness: CWE-79

Which versions are affected by CVE-2020-8155?

It affects 1 product.

Products include Nextcloud Nextcloud Server.

How do I fix CVE-2020-8155?

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

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

All Nextcloud Nextcloud Server vulnerabilities

Sources

Also known as GHSA-xqxr-66xr-xfq3.

Is CVE-2020-8155 in your software?

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

Check your SBOMs for free