{"id":"CVE-2022-21696","published":"2022-01-18T19:55:10Z","modified":"2025-04-23T19:11:08Z","title":"Username spoofing in OnionShare","vendor":"onionshare","product":"onionshare","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00738,"percentile":0.55451,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://github.com/onionshare/onionshare/security/advisories/GHSA-68vr-8f46-vc9f","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/onionshare/onionshare/releases/tag/v2.5","tags":["x_refsource_MISC"]}],"priority":{"score":14.1,"factors":[{"name":"EPSS percentile","points":11.09},{"name":"CVSS severity","points":3.01}]},"vendorSlug":"onionshare","affectedVersions":[{"vendor":"onionshare","product":"onionshare","versions":["< 2.5"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-23T14:12:06.972881Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"onionshare-cli","vulnerableRanges":[">=2.3, <2.5","<2.5"],"patched":["2.5"],"from":["GHSA-68vr-8f46-vc9f","PYSEC-2022-47"],"provenance":"source"}],"summary":{"text":"Username spoofing in OnionShare, the open source Tor-based file-sharing and chat tool, stems from improper input validation in its chat rename feature, which does not properly handle trailing whitespace in usernames. An attacker who has access to the chat environment and a low-privilege account can use the rename feature to adopt another participant's name by appending a space character, impersonating that user.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:44:08Z"},"euvd":{"id":"EUVD-2022-0187","exploited":false,"provenance":"source"}}