Moderate severityNVD Advisory· Published Jan 18, 2022· Updated Apr 23, 2025
OTF-006: Broken Website Hardening Control: The CSP can be turned on or off but not configured for the specific needs of the website
CVE-2022-21694
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. The website mode of the onionshare allows to use a hardened CSP, which will block any scripts and external resources. It is not possible to configure this CSP for individual pages and therefore the security enhancement cannot be used for websites using javascript or external resources like fonts or images.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
onionshare-cliPyPI | >= 2.2, < 2.5 | 2.5 |
Affected products
4- ghsa-coords3 versionspkg:pypi/onionshare-clipkg:rpm/opensuse/python3-onionshare&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/python-onionshare&distro=openSUSE%20Tumbleweed
>= 2.2, < 2.5+ 2 more
- (no CPE)range: >= 2.2, < 2.5
- (no CPE)range: < 2.6-4.1
- (no CPE)range: < 2.5-1.1
- Range: < 2.5
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-h29c-wcm8-883hghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-21694ghsaADVISORY
- github.com/onionshare/onionshare/issues/1389ghsax_refsource_MISCWEB
- github.com/onionshare/onionshare/releases/tag/v2.5ghsax_refsource_MISCWEB
- github.com/onionshare/onionshare/security/advisories/GHSA-h29c-wcm8-883hghsax_refsource_CONFIRMWEB
- github.com/pypa/advisory-database/tree/main/vulns/onionshare-cli/PYSEC-2022-45.yamlghsaWEB
News mentions
0No linked articles in our index yet.