CVE-2021-32679: Filenames not escaped by default in controllers using DownloadResponse
Vulnerability summary
CVE-2021-32679 is a high (CVSS 8.8) Improper Encoding or Escaping of Output vulnerability in fedoraproject fedora. EPSS estimates a 1.37% chance of exploitation in the next 30 days, higher than 72.8% of scored vulnerabilities.
Not severe (CVSS 3.5, network access); no exploitation reported by the 5 checked sources
CIRCL last checked 05-12-2026
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 12-07-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
Nextcloud Server is a Nextcloud package that handles data storage. In versions prior to 19.0.13, 20.0.11, and 21.0.3, filenames where not escaped by default in controllers using `DownloadResponse`. When a user-supplied filename was passed unsanitized into a `DownloadResponse`, this could be used to trick users into downloading malicious files with a benign file extension. This would show in UI behaviours where Nextcloud applications would display a benign file extension (e.g. JPEG), but the file will actually be downloaded with an executable file extension. The vulnerability is patched in versions 19.0.13, 20.0.11, and 21.0.3. Administrators of Nextcloud instances do not have a workaround available, but developers of Nextcloud apps may manually escape the file name before passing it into `DownloadResponse`.
CVSS metrics
3 scores · 2 sources · 2 versions- CVE.orgCNA3.5LowCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:NDiffers
EPSS trend
Probability
1.37%
Chance of exploitation in the next 30 days
Percentile
73%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.37% on 05-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.
Nextcloud2 products
- nextcloud_server< 19.0.13 | ≥ 20.0.0, < 20.0.11 | ≥ 21.0.0, < 21.0.3
- security-advisories< 19.0.13 | ≥ 20.0.0, < 20.0.11 | ≥ 21.0.0, < 21.0.3
Fedoraproject1 product
- fedoraEOL33 | 34
2 vendors · 3 products
References
6 links- github.com/nextcloud/security-advisories/security/advisories/GHSA-3hjp-26x8-mhf6X Refsource CONFIRMThird Party Advisory