Bug 2213010 (CVE-2022-46165) - CVE-2022-46165 syncthing: Cross-site scripting through malicious files
Summary: CVE-2022-46165 syncthing: Cross-site scripting through malicious files
Alias: CVE-2022-46165
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 2213011 2213012
Blocks: 2213015
TreeView+ depends on / blocked
Reported: 2023-06-06 21:10 UTC by Pedro Sampaio
Modified: 2023-06-07 06:17 UTC (History)
0 users

Fixed In Version: syncthing 1.23.5
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2023-06-07 06:17:38 UTC

Attachments (Terms of Use)

Description Pedro Sampaio 2023-06-06 21:10:28 UTC
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.


Comment 1 Pedro Sampaio 2023-06-06 21:10:54 UTC
Created syncthing tracking bugs for this issue:

Affects: epel-all [bug 2213012]
Affects: fedora-all [bug 2213011]

Comment 2 Product Security DevOps Team 2023-06-07 06:17:37 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.

Note You need to log in before you can comment on or make changes to this bug.