Improper Input Validation Affecting onionshare package, versions <2.5-1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.74% (56th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-ONIONSHARE-17966142
  • published14 Jul 2026
  • disclosed18 Jan 2022

Introduced: 18 Jan 2022

CVE-2022-21696  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade Echo:latest onionshare to version 2.5-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream onionshare package and not the onionshare package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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 it is possible to change the username to that of another chat participant with an additional space character at the end of the name string. An adversary with access to the chat environment can use the rename feature to impersonate other participants by adding whitespace characters at the end of the username.

CVSS Base Scores

version 3.1