ADVISORIES

Vulnerability

CVE-2022-46165

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.

5 advisories report this vulnerability, across 5 ecosystems.

Advisories

  • DEBIAN-CVE-2022-46165

    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…

    CVE-2022-46165 Debian Updated 20 November 2026
  • GHSA-9rp6-23gf-4c3h

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

    Moderate CVE-2022-46165 Go Updated 24 July 2024
  • UBUNTU-CVE-2022-46165

    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…

    CVE-2022-46165 Ubuntu Updated 17 October 2026
  • openSUSE-SU-2023:0126-1

    Security update for syncthing

    CVE-2022-46165 SUSEopenSUSE Updated 4 February 2026
  • openSUSE-SU-2024:12984-1

    syncthing-1.23.5-1.1 on GA media

    CVE-2022-46165 openSUSE Updated 4 February 2026

References