CVE-2020-8281 Cross-site scripting in Nextcloud Contacts
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.
Other vulnerabilities in Nextcloud Contacts
- CVE-2021-39221 XSS in Contacts
- CVE-2020-8280 Cross-site scripting in Nextcloud Contacts
- CVE-2018-3764 Cross-site scripting in Nextcloud Contacts application
- CVE-2020-8181 File upload in Nextcloud Contact
- CVE-2025-66554 Nextcloud Contacts vulnerable to Stored XSS in contacts app via organisation and title field
Sources
Also known as GHSA-m93g-hpch-vvw7.