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

Exp

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: 2023-06-06 Last update: 2024-11-21 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2022-46165 is rated Exploit Available (59.1/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 0.76%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2022-46165

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2022-46165

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-03-01 0.67% 0.76% +0.09%
2 2026-01-14 0.51% 0.67% +0.16%
3 2025-11-21 0.51%

Full EPSS history (13 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2022-46165

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
4.6 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:N)
Service keeps running; no real outage angle.
2.1 2.5 [email protected]
5.4 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:N)
Service keeps running; no real outage angle.
2.3 2.7 [email protected]

Weakness enumeration for CVE-2022-46165

GitHub Security Advisory for CVE-2022-46165

GHSA-9rp6-23gf-4c3h · Severity: medium · Ecosystem: go — syncthing vulnerable to Cross-site Scripting (XSS) in Web GUI

OS Trackers for CVE-2022-46165

vendor priority summary link
alpine medium CVE-2022-46165: 1 source package rows (syncthing); 3 state rows across 3 repos (3.18-community, 3.22-community, edge-community); fixed 0, open 3. https://security.alpinelinux.org/vuln/CVE-2022-46165
debian not yet assigned CVE-2022-46165 not yet assigned priority: Debian including 1 source packages (syncthing), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 3, open 2. https://security-tracker.debian.org/tracker/CVE-2022-46165
suse medium CVE-2022-46165 severity moderate: SUSE including 4 source package names (syncthing-1.23.5-1.1, syncthing-1.23.5-bp155.2.3.1, syncthing-relaysrv-1.23.5-1.1, syncthing-relaysrv-1.23.5-bp155.2.3.1), 6 product×package rows across 3 product lines (SUSE Package Hub 15 SP5, openSUSE Leap 15.5, openSUSE Tumbleweed): Fixed 6. https://www.suse.com/security/cve/CVE-2022-46165/
ubuntu medium CVE-2022-46165 medium priority: Ubuntu including 1 source packages (syncthing), 13 status rows across 13 suites (bionic, focal, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): ignored 7, needs-triage 6. https://ubuntu.com/security/CVE-2022-46165

Affected software / configurations for CVE-2022-46165

Vendor Product Version Raw CPE
syncthing syncthing < 1.23.5 cpe:2.3:a:syncthing:syncthing:*:*:*:*:*:*:*:*

References for CVE-2022-46165

cvelogic Threat Intelligence