Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| onionshare | onionshare | < 2.5 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | onionshare | 2.5-1 | — |
| Debian 13 | onionshare | 2.5-1 | — |
| Debian 12 | onionshare | 2.5-1 | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-onionshare | 2.5-1.1 | openSUSE-SU-2024:11983-1 |
| openSUSE Tumbleweed | python3-onionshare | 2.6-4.1 | openSUSE-SU-2024:13635-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | onionshare-cli | < 2.5 | 2.5 | GHSA-ch22-x2v3-v6vq |
Advisories 2
- openSUSE-SU-2024:13635-1 python3-onionshare-2.6-4.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11983-1 python-onionshare-2.5-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026