CVE-2021-32733
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network with a low-privilege account, but needs a user to act. High risk of data tampering.
- Exploit odds
- 1.1% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 1.1% in the next 30 days (EPSS).
- Severity: 4.8 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 1.1% · EPSS, next 30 days
- Weakness
- CWE-79 · Cross-site scripting
- Record status
- Modified
Affected
- Nextcloud Server < 19.0.13
- Nextcloud Server < 20.0.11
- Nextcloud Server < 21.0.3
Attack profile CVSS 3.1 · 4.8
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- Low
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- High
- Availability
- None
Raw vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2021-32733.md and follow it. Check whether this project is affected by CVE-2021-32733. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-x4w3-jhcr-57pq
- https://github.com/nextcloud/text/pull/1689
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-x4w3-jhcr-57pq
- https://github.com/nextcloud/text/pull/1689
References
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-x4w3-jhcr-57pq
- https://github.com/nextcloud/text/pull/1689
- https://hackerone.com/reports/1241460
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-x4w3-jhcr-57pq
- https://github.com/nextcloud/text/pull/1689
- https://hackerone.com/reports/1241460