Live threats

All CVEs / Onionshare

CVE-2022-21694Onionshare

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
1.3%
probability of exploitation in 30 days · percentile 70
Auth required
No
Published
Jan 18, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-732
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

What happens

OnionShare is an open source tool that lets you securely and anonymously share files, host websites, and chat with friends using the Tor network. The website mode of the onionshare allows to use a hardened CSP, which will block any scripts and external resources. It is not possible to configure this CSP for individual pages and therefore the security enhancement cannot be used for websites using javascript or external resources like fonts or images.

Original NVD text.

What to do

  1. Apply the vendor's security update for Onionshare.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI onionshare-cli ≥ 2.2 < 2.5 2.5 pip install "onionshare-cli>=2.5"
PyPI onionshare-cli < 2.5 2.5 pip install "onionshare-cli>=2.5"

Per OSV / GitHub Advisories (GHSA-h29c-wcm8-883h, PYSEC-2022-45). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
onionshareonionshare< 2.5

Official sources

References

Links published by the sources. Open them with care.