CVE-2021-39221: XSS in Contacts

Published Oct 25, 2021
·
Updated

Nextcloud is an open-source, self-hosted productivity platform. The Nextcloud Contacts application prior to version 4.0.3 was vulnerable to a stored Cross-Site Scripting (XSS) vulnerability. For exploitation, a user would need to right-click on a malicious file and open the file in a new tab. Due the strict Content-Security-Policy shipped with Nextcloud, this issue is not exploitable on modern browsers supporting Content-Security-Policy. It is recommended that the Nextcloud Contacts application is upgraded to 4.0.3. As a workaround, one may use a browser that has support for Content-Security-Policy.

Affected Software

1 affected component
Nextcloud Contacts<4.0.3

Event History

Oct 25, 2021
CVE Published
via MITRE·07:05 PM
Data Sourced
via MITRE·07:05 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2021-39221?

CVE-2021-39221 is a stored Cross-Site Scripting (XSS) vulnerability in the Nextcloud Contacts application prior to version 4.0.3.

2

How does the vulnerability in Nextcloud Contacts work?

The vulnerability requires a user to right-click on a malicious file and open it in a new tab, allowing the execution of malicious scripts.

3

What is the severity of CVE-2021-39221?

CVE-2021-39221 has a severity rating of medium with a CVSS score of 5.4.

4

Is there a fix for CVE-2021-39221?

Yes, the vulnerability has been fixed in Nextcloud Contacts version 4.0.3.

5

Where can I find more information about CVE-2021-39221?

You can find more information about CVE-2021-39221 in the Nextcloud Contacts GitHub repository and Nextcloud's security advisories.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203