CVE-2022-21690
MEDIUM 5.4CVSS 3.1OTF-001: Improper Input Sanitation: The path parameter of the requested URL is not sanitized before being passed to the QT frontend
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.
- Published
- 18 Jan 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-ch22-x2v3-v6vqPYSEC-2022-41
- Sources
- NVDJSONOSV GHSA-ch22-x2v3-v6vqJSONOSV PYSEC-2022-41JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N | |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | onionshare | onionsharecpe:2.3:a:onionshare:onionshare:*:*:*:*:*:*:*:* |
< 2.5 | 2.5 |
| OSV | PyPI | onionshare-cli | < 2.5 | 2.5 |
References
- https://github.com/onionshare/onionshare/releases/tag/v2.5 · Release Notes, Third Party Advisory, WEB
- https://github.com/onionshare/onionshare/security/advisories/GHSA-ch22-x2v3-v6vq · Exploit, Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2022-21690 · ADVISORY
- https://github.com/onionshare/onionshare · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/onionshare-cli/PYSEC-2022-41.yaml · WEB
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 18 Jan 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 18 Jan 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 21 Jan 2022)