CVE-2022-21690 json
Cross-Site Scripting in Onionshare
published 2022-01-18 4 y ago modified 2026-06-17 4 mo ago also GHSA-ch22-x2v3-v6vq , PYSEC-2022-41 , EUVD-2022-0181
- cvss
- 8.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 56%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi onionshare-cli 2.5
- onionshare onionshare 2.5
- onionshare Debian 14, Debian 13, Debian 12 2.5-1
debian advisories DEBIAN-CVE-2022-21690
- python-onionshare openSUSE Tumbleweed 2.5-1.1
- python3-onionshare openSUSE Tumbleweed 2.6-4.1
opensuse advisories openSUSE-SU-2024:11983-1openSUSE-SU-2024:13635-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-21690 updated cvss 5.4
onionshare: cross site scripting
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 18 mo ago
Exploit prediction
0.80% chance of exploitation in the next 30 days, higher than 56% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/onionshare/onionshare/security/advisories/GHSA-ch22-x2v3-v6vq referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N |
| NVD | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
| GitHub | 3.1 | 8.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | onionshare-cli | <2.5 |
2.5 |
Affected products
- onionshare onionshare
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/onionshare/onionshare/security/advisories/GHSA-ch22-x2v3-v6vq
web, exploit, third-party-advisory, advisory
-
github.com
/onionshare/onionshare/releases/tag/v2.5
web, release-notes, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-21690
advisory
-
github.com
/onionshare/onionshare
package
-
github.com
/pypa/advisory-database/tree/main/vulns/onionshare-cli/PYSEC-2022-41.yaml
web
Sources
- CVE List CVE-2022-21690
- GitHub Advisory GHSA-ch22-x2v3-v6vq
- NVD CVE-2022-21690
- OSV PYSEC-2022-41
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.