Cross-site Scripting (XSS) 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.82% (59th 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-17966136
  • published14 Jul 2026
  • disclosed18 Jan 2022

Introduced: 18 Jan 2022

CVE-2022-21690  (opens in a new tab)
CWE-79  (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 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.

CVSS Base Scores

version 3.1