CVE-2022-46165
published medium CVSS 3.1 · 4.6Cross-site Scripting (XSS) in Web GUI in syncthing
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| syncthing | — | syncthing< 1.23.5 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Leap-15.5 | syncthingaarch64 | Advisory build | 1.23.5-bp155.2.3.1 | OPENSUSE-SU-2023:0126-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | syncthingi586 | Advisory build | 1.23.5-bp155.2.3.1 | OPENSUSE-SU-2023:0126-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | syncthingppc64le | Advisory build | 1.23.5-bp155.2.3.1 | OPENSUSE-SU-2023:0126-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | syncthings390x | Advisory build | 1.23.5-bp155.2.3.1 | OPENSUSE-SU-2023:0126-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | syncthingx86_64 | Advisory build | 1.23.5-bp155.2.3.1 | OPENSUSE-SU-2023:0126-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | syncthingaarch64 | Advisory build | 1.23.5-1.1 | OPENSUSE-SU-2024:12984-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | syncthingppc64le | Advisory build | 1.23.5-1.1 | OPENSUSE-SU-2024:12984-1 |
Show 11 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | syncthings390x | Advisory build | 1.23.5-1.1 | OPENSUSE-SU-2024:12984-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | syncthingx86_64 | Advisory build | 1.23.5-1.1 | OPENSUSE-SU-2024:12984-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | syncthing-relaysrvaarch64 | Advisory build | 1.23.5-bp155.2.3.1 | OPENSUSE-SU-2023:0126-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | syncthing-relaysrvi586 | Advisory build | 1.23.5-bp155.2.3.1 | OPENSUSE-SU-2023:0126-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | syncthing-relaysrvppc64le | Advisory build | 1.23.5-bp155.2.3.1 | OPENSUSE-SU-2023:0126-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | syncthing-relaysrvs390x | Advisory build | 1.23.5-bp155.2.3.1 | OPENSUSE-SU-2023:0126-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | syncthing-relaysrvx86_64 | Advisory build | 1.23.5-bp155.2.3.1 | OPENSUSE-SU-2023:0126-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | syncthing-relaysrvaarch64 | Advisory build | 1.23.5-1.1 | OPENSUSE-SU-2024:12984-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | syncthing-relaysrvppc64le | Advisory build | 1.23.5-1.1 | OPENSUSE-SU-2024:12984-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | syncthing-relaysrvs390x | Advisory build | 1.23.5-1.1 | OPENSUSE-SU-2024:12984-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | syncthing-relaysrvx86_64 | Advisory build | 1.23.5-1.1 | OPENSUSE-SU-2024:12984-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.6 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| syncthing | syncthing | < 1.23.5 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
4- https://github.com/syncthing/syncthing/commit/73c52eafb6566435dffd979c3c49562b6d5a4238
- https://github.com/syncthing/syncthing/security/advisories/GHSA-9rp6-23gf-4c3h
- https://lists.fedoraproject.org/archives/list/[email protected]/message/IRYGBFJPVBW6PPTETNIBWQJE4HJSA5PJ/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/XEBWSQVGHSTR4ZO7LVVEMPEGMV2DS5XR/
Provider assertions
3GitHub_M · cna
Cross-site Scripting (XSS) in Web GUI in syncthing
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 33453e21294f2f5a0822c5b3bb532a3815f37086f6d33ce2069f6b21b0bb4cbb
- Ingested
- 23 Sep 2026, 08:03:28 UTC
- Source record
- Official CVE record