Vulnerability · Published Feb 6, 2023 · Assigned by GitHub_M
CVE-2023-23942Self reflected HTML injection in Desktop client
Medium 5.4
In plain English
A medium-severity cross-site scripting in security-advisories from nextcloud. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 53% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
The Nextcloud Desktop Client is a tool to synchronize files from a Nextcloud Server with your computer. Versions prior to 3.6.3 are missing sanitisation on qml labels which are used for basic HTML elements such as `strong`, `em` and `head` lines in the UI of the desktop client. The lack of sanitisation may allow for javascript injection. It is recommended that the Nextcloud Desktop Client is upgraded to 3.6.3. There are no known workarounds for this issue.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | nextcloud-client | 3.6.6-r0 | ALPINE-CVE-2023-23942 |
| Alpine:v3.21 | nextcloud-client | 3.6.6-r0 | ALPINE-CVE-2023-23942 |
| Alpine:v3.22 | nextcloud-client | 3.6.6-r0 | ALPINE-CVE-2023-23942 |
| Alpine:v3.23 | nextcloud-client | 3.6.6-r0 | ALPINE-CVE-2023-23942 |
| Alpine:v3.24 | nextcloud-client | 3.6.6-r0 | ALPINE-CVE-2023-23942 |
| Debian:12 | nextcloud-desktop | 3.6.4-1 | DEBIAN-CVE-2023-23942 |
| Debian:13 | nextcloud-desktop | 3.6.4-1 | DEBIAN-CVE-2023-23942 |
| Debian:14 | nextcloud-desktop | 3.6.4-1 | DEBIAN-CVE-2023-23942 |
| Ubuntu:22.04:LTS | nextcloud-desktop | no fix listed | UBUNTU-CVE-2023-23942 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| nextcloud | security-advisories | < 3.6.3 |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
References
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-64qc-vf6v-8xgg x_refsource_CONFIRM
- https://github.com/nextcloud/desktop/pull/5233 x_refsource_MISC
- https://hackerone.com/reports/1788598 x_refsource_MISC