# CVE-2022-46165: syncthing: Syncthing is an open source, continuous file synchronization program

CVE-2022-46165 is fixed in syncthing on 1 platform, first by DEBIAN-CVE-2022-46165, released June 6, 2023. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2022-46165
- Priority: Routine
- CVSS: 5.4 (medium)
- EPSS: 0.0078
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jun 6, 2023

## Description

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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | syncthing Debian 13.5 (trixie) | 1.27.2~ds4-1 | [DEBIAN-CVE-2022-46165](https://patchblox.com/security/data/fix/linux/debian-cve-2022-46165.md) | Jun 6, 2023 |
| Linux | syncthing Debian 14 | 1.27.2~ds4-1 | [DEBIAN-CVE-2022-46165](https://patchblox.com/security/data/fix/linux/debian-cve-2022-46165.md) | Jun 6, 2023 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
