XSS in Onionshare
CVE-2022-21690
OnionShare is an open source tool that lets you securely and anonymously share files, host websites, and chat with friends using the Tor network. In affected versions The path parameter of the requested URL is not sanitized before being passed to the QT frontend. This path is used in all components for displaying the server access history. This leads to a rendered HTML4 Subset (QT RichText editor) in the Onionshare frontend.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.7 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N.
EPSS exploit prediction
EPSS 0.008, 57.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Onionshare — versions < 2.5
Weakness classification (CWE)
References
- github.com/onionshare/onionshare/releases/tag/v2.5 (Third Party Advisory, Release Notes)
- github.com/onionshare/onionshare/security/advisories/GHSA-ch22-x2v3-v6vq (Exploit, Third Party Advisory)