{"cve":"CVE-2022-46165","nvd":{"published":"2023-06-06T18:15:10.100","modified":"2026-06-17T05:11:20.607","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4},"cwes":["CWE-79"],"references":["https://github.com/syncthing/syncthing/commit/73c52eafb6566435dffd979c3c49562b6d5a4238","https://github.com/syncthing/syncthing/security/advisories/GHSA-9rp6-23gf-4c3h","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IRYGBFJPVBW6PPTETNIBWQJE4HJSA5PJ/","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XEBWSQVGHSTR4ZO7LVVEMPEGMV2DS5XR/","https://github.com/syncthing/syncthing/commit/73c52eafb6566435dffd979c3c49562b6d5a4238"],"products":["syncthing:syncthing"],"source":"nvd","synced_at":"2026-10-19T21:38:24.161619714+00:00"},"epss":{"cve":"CVE-2022-46165","score":0.00778,"percentile":0.55895,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-9rp6-23gf-4c3h","url":"https://osv.dev/vulnerability/GHSA-9rp6-23gf-4c3h","summary":"syncthing vulnerable to Cross-site Scripting (XSS) in Web GUI","modified":"2024-07-24T20:12:00.093170Z","packages":[{"ecosystem":"Go","name":"github.com/syncthing/syncthing","purl":"pkg:golang/github.com/syncthing/syncthing","ranges":["<1.23.5"],"fixed":["1.23.5"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}