Moderate severityNVD Advisory· Published Jan 18, 2022· Updated Apr 22, 2025
Cross-Site Scripting in Onionshare
CVE-2022-21690
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
onionshare-cliPyPI | < 2.5 | 2.5 |
Affected products
4- ghsa-coords3 versionspkg:pypi/onionshare-clipkg:rpm/opensuse/python3-onionshare&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/python-onionshare&distro=openSUSE%20Tumbleweed
< 2.5+ 2 more
- (no CPE)range: < 2.5
- (no CPE)range: < 2.6-4.1
- (no CPE)range: < 2.5-1.1
- Range: < 2.5
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-ch22-x2v3-v6vqghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-21690ghsaADVISORY
- github.com/onionshare/onionshare/releases/tag/v2.5ghsax_refsource_MISCWEB
- github.com/onionshare/onionshare/security/advisories/GHSA-ch22-x2v3-v6vqghsax_refsource_CONFIRMWEB
- github.com/pypa/advisory-database/tree/main/vulns/onionshare-cli/PYSEC-2022-41.yamlghsaWEB
News mentions
0No linked articles in our index yet.