XSS in Nextcloud Server
CVE-2021-32733
Nextcloud Text is a collaborative document editing application that uses Markdown. A cross-site scripting vulnerability is present in versions prior to 19.0.13, 20.0.11, and 21.0.3. The Nextcloud Text application shipped with Nextcloud server used a `text/html` Content-Type when serving files to users. Due the strict Content-Security-Policy shipped with Nextcloud, this issue is not exploitable on modern browsers supporting Content-Security-Policy. The issue was fixed in versions 19.0.13, 20.0.11, and 21.0.3. As a workaround, use a browser that has support for Content-Security-Policy.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.8 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS 0.011, 66.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Nextcloud Server
- Nextcloud Security-Advisories — versions < 19.0.13, >= 20.0.0, < 20.0.11, >= 21.0.0, < 21.0.3
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ARPSyndicate/cvemon). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/nextcloud/security-advisories/security/advisories/GHSA-x4w3-jhcr-57pq (Third Party Advisory)
- github.com/nextcloud/text/pull/1689 (Patch, Third Party Advisory)
- hackerone.com/reports/1241460 (Permissions Required)