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.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
onionshare-cliPyPI | >= 2.2, < 2.5 | 2.5 |
Affected products
1- Range: < 2.5
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
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.