CVE-2022-21696 MEDIUM

CVE-2022-21696: Username spoofing in OnionShare

Vendor Onionshare
Product onionshare
Weakness CWE-20 · Input validation
Published January 18, 2022
Last update April 23, 2025

CVSS base score

4.3/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality Low
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

January 18, 2022 CVE published
April 23, 2025 Record updated