Vulnerability · Published Jan 18, 2022 · Assigned by GitHub_M
CVE-2022-21690Cross-Site Scripting in Onionshare
High 8.7
In plain English
A high-severity cross-site scripting in onionshare from onionshare. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 57% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | onionshare | 2.5-1 | DEBIAN-CVE-2022-21690 |
| Debian:13 | onionshare | 2.5-1 | DEBIAN-CVE-2022-21690 |
| Debian:14 | onionshare | 2.5-1 | DEBIAN-CVE-2022-21690 |
| PyPI | onionshare-cli | 2.5 | GHSA-ch22-x2v3-v6vq |
| PyPI | onionshare-cli | 2.5 | PYSEC-2022-41 |
| Ubuntu:24.04:LTS | onionshare | 2.6-6ubuntu1 | UBUNTU-CVE-2022-21690 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| onionshare | onionshare | < 2.5 |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
References
- https://github.com/onionshare/onionshare/releases/tag/v2.5 x_refsource_MISC
- https://github.com/onionshare/onionshare/security/advisories/GHSA-ch22-x2v3-v6vq x_refsource_CONFIRM