Security mailing lists by PureSourceCode

CVE-2022-46165

MEDIUM 5.4CVSS 3.1

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

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.

Published
6 Jun 2023
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-79
Also known as
BIT-syncthing-2022-46165GHSA-9rp6-23gf-4c3h
Sources
NVDJSONOSV GHSA-9rp6-23gf-4c3hJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 4.6 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 4.6 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD syncthing syncthing
cpe:2.3:a:syncthing:syncthing:*:*:*:*:*:*:*:*
< 1.23.5 1.23.5
OSV Go github.com/syncthing/syncthing < 1.23.5 1.23.5

References

History

  • 25 Nov 2026 20:36 UTC · NVD: first stored (published 6 Jun 2023)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 6 Jun 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.