Read the docs
TI-2022-22809 Aliases CVE-2022-46165GHSA-9rp6-23gf-4c3h

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

Priority MEDIUM 58CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-79.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00778 56th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed syncthing (syncthing): 1.23.5github.com/syncthing/syncthing (Go): 1.23.5

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
syncthingsyncthingbefore 1.23.51.23.5Patch availableCNA
—github.com/syncthing/syncthing (Go)before 1.23.51.23.5Patch availableGHSA-9rp6-23gf-4c3h
  • syncthing Vendorsyncthing Affected before 1.23.5 Fixed in 1.23.5 Patch available CNA
  • github.com/syncthing/syncthing (Go) Vendor— Affected before 1.23.5 Fixed in 1.23.5 Patch available GHSA-9rp6-23gf-4c3h

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:syncthing:syncthing:*:*:*:*:*:*:*:*before 1.23.5Vulnerablesyncthing
  • cpe:2.3:a:syncthing:syncthing:*:*:*:*:*:*:*:* Versions before 1.23.5 Vulnerable ·syncthing

Remediation

  • Fix · CNA syncthing (syncthing) Fixed in 1.23.5
  • Fix · GHSA-9rp6-23gf-4c3h github.com/syncthing/syncthing (Go) Fixed in 1.23.5 Advisory →

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-46165
  2. 2026-10-03 Alias added: GHSA-9rp6-23gf-4c3h

References

  • TI-2021-04502 Crash due to malformed relay protocol message CVSS 3.1HIGH 7.5
  • TI-2017-14639 Syncthing version 0.14.33 and older is vulnerable to symlink traversal resulting in arbitrary file overwrite CVSS 3.0HIGH 7.5

Sources