Security mailing lists by PureSourceCode

CVE-2022-21694

MEDIUM 5.3CVSS 3.1

Incorrect Permission Assignment for Critical Resource in OnionShare

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.

Published
18 Jan 2022
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-732
Also known as
GHSA-h29c-wcm8-883hPYSEC-2022-45
Sources
NVDJSONOSV GHSA-h29c-wcm8-883hJSONOSV PYSEC-2022-45JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 LOW 3.7 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
OSV GitHub CVSS 3.1 LOW 3.7 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD onionshare onionshare
cpe:2.3:a:onionshare:onionshare:*:*:*:*:*:*:*:*
< 2.5 2.5
OSV PyPI onionshare-cli >= 2.2, < 2.5 2.5
OSV PyPI onionshare-cli < 2.5 2.5

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 18 Jan 2022)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 18 Jan 2022)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 21 Jan 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.