CVE-2022-21690 Cross-Site Scripting in Onionshare
MediumCVSS 5.4
EPSS 0.82%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
- Technology
- UbuntuDebian
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.
Upgrade path
7 packages: 7 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/onionshare(Debian 12) | < 2.5-1 | 2.5-1 | Fixed |
| debian/onionshare(Debian 13) | < 2.5-1 | 2.5-1 | Fixed |
| debian/onionshare(Debian 14) | < 2.5-1 | 2.5-1 | Fixed |
| onionshare | < 2.5; = < 2.5 | 2.5 | Fixed |
| pypi onionshare-cli(PyPI) | < 2.5; = 2.3; = 2.3.1; = 2.3.2 +1 more | 2.5 | Fixed |
| ubuntu/onionshare(Ubuntu 24.04) | < 2.6-6ubuntu1; = 2.6-5 | 2.6-6ubuntu1 | Fixed |
| ubuntu/onionshare(Ubuntu 25.04) | < 2.6.3-1; = 2.6-6ubuntu1 | 2.6.3-1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi onionshare-cli(PyPI) | < 2.5 | 2.5 |
| pypi onionshare-cli(PyPI) | = 2.3 | No fix listed |
| pypi onionshare-cli(PyPI) | = 2.3.1 | No fix listed |
| pypi onionshare-cli(PyPI) | = 2.3.2 | No fix listed |
| pypi onionshare-cli(PyPI) | = 2.3.3 | No fix listed |
| onionshare | = < 2.5 | No fix listed |
| onionshare | < 2.5 | 2.5 |
| debian/onionshare(Debian:12) | < 2.5-1 | 2.5-1 |
| debian/onionshare(Debian:14) | < 2.5-1 | 2.5-1 |
| debian/onionshare(Debian:13) | < 2.5-1 | 2.5-1 |
| ubuntu/onionshare(Ubuntu:24.04) | < 2.6-6ubuntu1 | 2.6-6ubuntu1 |
| ubuntu/onionshare(Ubuntu:24.04) | = 2.6-5 | No fix listed |
| ubuntu/onionshare(Ubuntu:25.04) | < 2.6.3-1 | 2.6.3-1 |
| ubuntu/onionshare(Ubuntu:25.04) | = 2.6-6ubuntu1 | No fix listed |
References
- github.com exploit issue-tracking third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- github.com issue-tracking release-notes third-party-advisory
- github.com
- github.com
- Debian Security Tracker CVE-2022-21690 vendor-advisory
- bugs.debian.org issue-tracking
- ubuntu.com issue-tracking
- www.cve.org issue-tracking