CVE-2022-46165 Cross-site Scripting (XSS) in Web GUI in syncthing
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
15 packages: 4 fixed, 11 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/syncthing(Debian 12) | = 1.19.2~ds1-1; = 1.19.2~ds1-2; = 1.19.2~ds1-3; = 1.27.2~ds4-1 +13 more | No fix listed | No fix yet |
| ubuntu/syncthing(Ubuntu 18.04) | = 0.14.36+ds1-1; = 0.14.38+ds1-1; = 0.14.43+ds1-5; = 0.14.43+ds1-6 +1 more | No fix listed | No fix yet |
| ubuntu/syncthing(Ubuntu 20.04) | = 1.1.4~ds1-4; = 1.1.4~ds1-4ubuntu1; = 1.1.4~ds1-4ubuntu1.1; = 1.1.4~ds1-4ubuntu1.2 +1 more | No fix listed | No fix yet |
| ubuntu/syncthing(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/syncthing(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/syncthing(Ubuntu 25.10) | = 1.29.2~ds1-1; = 1.29.5~ds1-2; All versions | No fix listed | No fix yet |
| ubuntu/syncthing(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/syncthing(Ubuntu 26.10) | = 1.29.5~ds1-3; = 1.29.5~ds1-4; All versions | No fix listed | No fix yet |
| ubuntu/syncthing(Ubuntu Pro 22.04) | = 1.12.1~ds1-4; = 1.18.0~ds1-3; = 1.18.0~ds1-3ubuntu0.1; = 1.18.0~ds1-3ubuntu0.2 +4 more | No fix listed | No fix yet |
| ubuntu/syncthing(Ubuntu Pro 24.04) | = 1.19.2~ds1-3; = 1.27.2~ds4-1; = 1.27.2~ds4-1ubuntu0.24.04.1; = 1.27.2~ds4-1ubuntu0.24.04.2 +5 more | No fix listed | No fix yet |
| ubuntu/syncthing(Ubuntu Pro 26.04) | = 1.29.5~ds1-2; = 1.29.5~ds1-3; = 1.29.5~ds1-3ubuntu0.26.04.1~esm1; All versions | No fix listed | No fix yet |
| debian/syncthing(Debian 13) | < 1.27.2~ds4-1 | 1.27.2~ds4-1 | Fixed |
| debian/syncthing(Debian 14) | < 1.27.2~ds4-1 | 1.27.2~ds4-1 | Fixed |
| syncthing github.com/syncthing/syncthing | < 1.23.5; = < 1.23.5 | 1.23.5 | Fixed |
| syncthing github.com/syncthing/syncthing(Go) | < 1.23.5 | 1.23.5 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| syncthing github.com/syncthing/syncthing(Go) | < 1.23.5 | 1.23.5 |
| syncthing github.com/syncthing/syncthing | = < 1.23.5 | No fix listed |
| ubuntu/syncthing(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/syncthing(Ubuntu:24.04) | All versions | No fix listed |
| syncthing github.com/syncthing/syncthing | < 1.23.5 | 1.23.5 |
| ubuntu/syncthing(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/syncthing(Ubuntu:26.10) | All versions | No fix listed |
| debian/syncthing(Debian:12) | All versions | No fix listed |
| debian/syncthing(Debian:14) | < 1.27.2~ds4-1 | 1.27.2~ds4-1 |
| debian/syncthing(Debian:13) | < 1.27.2~ds4-1 | 1.27.2~ds4-1 |
| ubuntu/syncthing(Ubuntu:18.04) | All versions | No fix listed |
| ubuntu/syncthing(Ubuntu:18.04) | = 0.14.36+ds1-1 | No fix listed |
| ubuntu/syncthing(Ubuntu:18.04) | = 0.14.38+ds1-1 | No fix listed |
| ubuntu/syncthing(Ubuntu:18.04) | = 0.14.43+ds1-5 | No fix listed |
| ubuntu/syncthing(Ubuntu:18.04) | = 0.14.43+ds1-6 | No fix listed |
| ubuntu/syncthing(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/syncthing(Ubuntu:20.04) | = 1.1.4~ds1-4 | No fix listed |
| ubuntu/syncthing(Ubuntu:20.04) | = 1.1.4~ds1-4ubuntu1 | No fix listed |
| ubuntu/syncthing(Ubuntu:20.04) | = 1.1.4~ds1-4ubuntu1.1 | No fix listed |
| ubuntu/syncthing(Ubuntu:20.04) | = 1.1.4~ds1-4ubuntu1.2 | No fix listed |
| ubuntu/syncthing(Ubuntu:Pro:22.04) | All versions | No fix listed |
| ubuntu/syncthing(Ubuntu:Pro:22.04) | = 1.12.1~ds1-4 | No fix listed |
| ubuntu/syncthing(Ubuntu:Pro:22.04) | = 1.18.0~ds1-3 | No fix listed |
| ubuntu/syncthing(Ubuntu:Pro:22.04) | = 1.18.0~ds1-3ubuntu0.1 | No fix listed |
| ubuntu/syncthing(Ubuntu:Pro:22.04) | = 1.18.0~ds1-3ubuntu0.2 | No fix listed |
Show 37 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/syncthing(Ubuntu:Pro:22.04) | = 1.18.0~ds1-3ubuntu0.3 | No fix listed |
| ubuntu/syncthing(Ubuntu:Pro:22.04) | = 1.18.0~ds1-3ubuntu0.3+esm1 | No fix listed |
| ubuntu/syncthing(Ubuntu:Pro:22.04) | = 1.18.0~ds1-3ubuntu0.3+esm2 | No fix listed |
| ubuntu/syncthing(Ubuntu:Pro:24.04) | All versions | No fix listed |
| ubuntu/syncthing(Ubuntu:Pro:24.04) | = 1.19.2~ds1-3 | No fix listed |
| ubuntu/syncthing(Ubuntu:Pro:24.04) | = 1.27.2~ds4-1 | No fix listed |
| ubuntu/syncthing(Ubuntu:Pro:24.04) | = 1.27.2~ds4-1ubuntu0.24.04.1 | No fix listed |
| ubuntu/syncthing(Ubuntu:Pro:24.04) | = 1.27.2~ds4-1ubuntu0.24.04.2 | No fix listed |
| ubuntu/syncthing(Ubuntu:Pro:24.04) | = 1.27.2~ds4-1ubuntu0.24.04.2+esm1 | No fix listed |
| ubuntu/syncthing(Ubuntu:Pro:24.04) | = 1.27.2~ds4-1ubuntu0.24.04.3 | No fix listed |
| ubuntu/syncthing(Ubuntu:Pro:24.04) | = 1.27.2~ds4-1ubuntu0.24.04.3+esm1 | No fix listed |
| ubuntu/syncthing(Ubuntu:Pro:24.04) | = 1.27.2~ds4-1ubuntu0.24.04.3+esm2 | No fix listed |
| ubuntu/syncthing(Ubuntu:25.10) | All versions | No fix listed |
| ubuntu/syncthing(Ubuntu:25.10) | = 1.29.2~ds1-1 | No fix listed |
| ubuntu/syncthing(Ubuntu:25.10) | = 1.29.5~ds1-2 | No fix listed |
| ubuntu/syncthing(Ubuntu:26.10) | = 1.29.5~ds1-3 | No fix listed |
| ubuntu/syncthing(Ubuntu:26.10) | = 1.29.5~ds1-4 | No fix listed |
| ubuntu/syncthing(Ubuntu:Pro:26.04) | All versions | No fix listed |
| ubuntu/syncthing(Ubuntu:Pro:26.04) | = 1.29.5~ds1-2 | No fix listed |
| ubuntu/syncthing(Ubuntu:Pro:26.04) | = 1.29.5~ds1-3 | No fix listed |
| ubuntu/syncthing(Ubuntu:Pro:26.04) | = 1.29.5~ds1-3ubuntu0.26.04.1~esm1 | No fix listed |
| debian/syncthing(Debian:12) | = 1.19.2~ds1-1 | No fix listed |
| debian/syncthing(Debian:12) | = 1.19.2~ds1-2 | No fix listed |
| debian/syncthing(Debian:12) | = 1.19.2~ds1-3 | No fix listed |
| debian/syncthing(Debian:12) | = 1.27.2~ds4-1 | No fix listed |
| debian/syncthing(Debian:12) | = 1.27.7~ds1-1 | No fix listed |
| debian/syncthing(Debian:12) | = 1.27.7~ds1-2 | No fix listed |
| debian/syncthing(Debian:12) | = 1.27.7~ds1-3 | No fix listed |
| debian/syncthing(Debian:12) | = 1.27.7~ds1-4 | No fix listed |
| debian/syncthing(Debian:12) | = 1.27.7~ds1-5 | No fix listed |
| debian/syncthing(Debian:12) | = 1.29.2~ds1-1 | No fix listed |
| debian/syncthing(Debian:12) | = 1.29.5~ds1-1 | No fix listed |
| debian/syncthing(Debian:12) | = 1.29.5~ds1-2 | No fix listed |
| debian/syncthing(Debian:12) | = 1.29.5~ds1-3 | No fix listed |
| debian/syncthing(Debian:12) | = 1.29.5~ds1-4 | No fix listed |
| debian/syncthing(Debian:12) | = 1.29.5~ds1-5 | No fix listed |
| debian/syncthing(Debian:12) | = 1.29.5~ds1-5.1 | No fix listed |
References
- https://github.com/syncthing/syncthing/security/advisories/GHSA-9rp6-23gf-4c3h exploit issue-tracking vendor-advisory
- github.com patch
- github.com
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/syncthing/syncthing/commit/73c52eafb6566435dffd979c3c49562b6d5a4238 issue-tracking patch
- lists.fedoraproject.org
- lists.fedoraproject.org
- github.com
- github.com product
- Debian Security Tracker CVE-2022-46165 vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking
- bugs.debian.org issue-tracking