VDB

CVE-2022-46165

CVE-2022-46165 PUBLISHED CVSS 4.6 MEDIUM

Cross-site Scripting (XSS) in Web GUI in syncthing

Reported by github_m · Published June 6, 2023

Syncthing is an open source, continuous file synchronization program. In versions prior to 1.23.5 a compromised instance with shared folders could sync malicious files which contain arbitrary HTML and JavaScript in the name. If the owner of another device looks over the shared folder settings and moves the mouse over the latest sync, a script could be executed to change settings for shared folders or add devices automatically. Additionally adding a new device with a malicious name could embed HTML or JavaScript inside parts of the page. As a result the webUI may be subject to a stored cross site scripting attack. This issue has been addressed in version 1.23.5. Users are advised to upgrade. Users unable to upgrade should avoid sharing folders with untrusted users.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
syncthingBitnami1.23.5
syncthingBitnami1.23.5

Risk scores

CVSS 3.1
4.6
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N

Affected products

VendorProductVersions
syncthingsyncthing< 1.23.5
syncthingsyncthing0
github.comsyncthing/syncthing0

Timeline

  • Jun 6, 2023 CVE Published
  • Jun 7, 2023 EPSS Score (30 in total, the first dated here)
  • Nov 21, 2024 CVE Updated
  • Apr 2, 2026 Security Advisory (2 in total, the first dated here)
  • Jun 11, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2022-46165
vulnetix vdb fixes CVE-2022-46165

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-46165/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›