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

Medium 5.4 Published Updated

A missing file type check allows malicious users to upload SVG files, enabling cross-site scripting attacks in Nextcloud Contacts.

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

CVE-2020-8281 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.3.0 allows a malicious user to upload malicious SVG files to perform cross-site scripting (XSS) attacks.

Weakness: CWE-79

Which versions are affected by CVE-2020-8281?

It affects 1 product.

Products include Nextcloud Contacts.

How do I fix CVE-2020-8281?

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

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

Sources

Also known as GHSA-m93g-hpch-vvw7.

Is CVE-2020-8281 in your software?

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

Check your SBOMs for free