CVE-2022-21694

OTF-006: Broken Website Hardening Control: The CSP can be turned on or off but not configured for the specific needs of the website

Published Jan 18, 2022 CVSS 3.1 · 3.7 Low EPSS 1.3% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-0185 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.
Github GHSA Github GHSA GHSA-h29c-wcm8-883h Incorrect Permission Assignment for Critical Resource in OnionShare
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00391}

epss

{'score': 0.00413}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 23, 2025, 7:10 PM
Reserved
Nov 16, 2021, 12:00 AM
Status
Modified
Published
Jan 18, 2022, 11:15 PM
Modified
Jun 17, 2026, 4:26 AM