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.05% (26th 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 Learn

Learn about Cross-site Scripting (XSS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIANUNSTABLE-ONIONSHARE-2348008
  • published20 Jan 2022
  • 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 Debian:unstable 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 Debian. See How to fix? for Debian:unstable 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 Scores

version 3.1