p PatchFirst

CVE-2022-46165

CVE-2022-46165 · Cross-site Scripting (XSS) in Web GUI in syncthing

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 4.6 · Medium · EPSS 0.8% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • syncthing

    Versions
    • < 1.23.5: Affected

    No fix published

  • syncthing Debian:12

    Versions
    • 1.19.2~ds1-1
    • 1.19.2~ds1-2
    • 1.19.2~ds1-3
    • 1.27.2~ds4-1
    • 1.27.7~ds1-1
    • 1.27.7~ds1-2
    • 1.27.7~ds1-3
    • 1.27.7~ds1-4
    • 1.27.7~ds1-5
    • 1.29.2~ds1-1
    • 1.29.5~ds1-1
    • 1.29.5~ds1-2
    • 1.29.5~ds1-3
    • 1.29.5~ds1-4
    • 1.29.5~ds1-5
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • syncthing Debian:13

    Affected ranges
    • ECOSYSTEM: < 1.27.2~ds4-1

    Update to 1.27.2~ds4-1

  • syncthing Debian:14

    Affected ranges
    • ECOSYSTEM: < 1.27.2~ds4-1

    Update to 1.27.2~ds4-1

  • syncthing Ubuntu:18.04:LTS

    Versions
    • 0.14.36+ds1-1
    • 0.14.38+ds1-1
    • 0.14.43+ds1-5
    • 0.14.43+ds1-6
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • syncthing Ubuntu:20.04:LTS

    Versions
    • 1.1.4~ds1-4
    • 1.1.4~ds1-4ubuntu1
    • 1.1.4~ds1-4ubuntu1.1
    • 1.1.4~ds1-4ubuntu1.2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • syncthing Ubuntu:Pro:22.04:LTS

    Versions
    • 1.12.1~ds1-4
    • 1.18.0~ds1-3
    • 1.18.0~ds1-3ubuntu0.1
    • 1.18.0~ds1-3ubuntu0.2
    • 1.18.0~ds1-3ubuntu0.3
    • 1.18.0~ds1-3ubuntu0.3+esm1
    • 1.18.0~ds1-3ubuntu0.3+esm2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • syncthing Ubuntu:Pro:24.04:LTS

    Versions
    • 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
    • 1.27.2~ds4-1ubuntu0.24.04.2+esm1
    • 1.27.2~ds4-1ubuntu0.24.04.3
    • 1.27.2~ds4-1ubuntu0.24.04.3+esm1
    • 1.27.2~ds4-1ubuntu0.24.04.3+esm2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • syncthing Ubuntu:25.10

    Versions
    • 1.29.2~ds1-1
    • 1.29.5~ds1-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • syncthing Ubuntu:26.10

    Versions
    • 1.29.5~ds1-3
    • 1.29.5~ds1-4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • syncthing Ubuntu:Pro:26.04:LTS

    Versions
    • 1.29.5~ds1-2
    • 1.29.5~ds1-3
    • 1.29.5~ds1-3ubuntu0.26.04.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →