CVE-2022-21690 HIGH

CVE-2022-21690: Cross-Site Scripting in Onionshare

Vendor Onionshare
Product onionshare
Weakness CWE-79 · XSS
Published January 18, 2022
Last update April 22, 2025

CVSS base score

8.7/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction Required
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/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 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.

Key dates

02Disclosure timeline

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