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.

Severity (CVSS 3.1)5.4Medium
Exploit odds (30 days)0.7%top 47.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Alpine:v3.20nextcloud-client3.6.6-r0ALPINE-CVE-2023-23942
Alpine:v3.21nextcloud-client3.6.6-r0ALPINE-CVE-2023-23942
Alpine:v3.22nextcloud-client3.6.6-r0ALPINE-CVE-2023-23942
Alpine:v3.23nextcloud-client3.6.6-r0ALPINE-CVE-2023-23942
Alpine:v3.24nextcloud-client3.6.6-r0ALPINE-CVE-2023-23942
Debian:12nextcloud-desktop3.6.4-1DEBIAN-CVE-2023-23942
Debian:13nextcloud-desktop3.6.4-1DEBIAN-CVE-2023-23942
Debian:14nextcloud-desktop3.6.4-1DEBIAN-CVE-2023-23942
Ubuntu:22.04:LTSnextcloud-desktopno fix listedUBUNTU-CVE-2023-23942

Affected products (as reported)

VendorProductVersions
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