CVE-2020-8280 Cross-site scripting in Nextcloud Contacts

Medium 5.4 Published Updated

A missing file type check in Nextcloud Contacts allows malicious users to upload SVG files disguised as PNGs to execute cross-site scripting attacks.

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-2020-8280?

CVE-2020-8280 is a medium-severity cross-site scripting vulnerability in Nextcloud Contacts, published on 6 Jan 2021. 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 missing file type check in Nextcloud Contacts 3.4.0 allows a malicious user to upload SVG files as PNG files to perform cross-site scripting (XSS) attacks.

Weakness: CWE-79

Which versions are affected by CVE-2020-8280?

It affects 1 product.

Products include Nextcloud Contacts.

How do I fix CVE-2020-8280?

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

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

Sources

Also known as GHSA-v342-j8qr-3849.

Is CVE-2020-8280 in your software?

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

Check your SBOMs for free