Stored cross-site scripting in syncthing - CVE-2022-46165

 

Stored cross-site scripting in syncthing - CVE-2022-46165

Published: August 21, 2023


Vulnerability identifier: #VU79775
CSH Severity: Medium
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U/U:Green
CVE-ID: CVE-2022-46165
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
syncthing
Software vendor:
syncthing.net

Description

The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.

The vulnerability exists due to insufficient sanitization of user-supplied data when handling filenames in webUI. A remote attacker can trick the victim to synchronize a malicious folder and execute arbitrary HTML and script code in user's browser in context of vulnerable website.



Remediation

Install updates from vendor's website.

External links