{"id":"CVE-2022-21690","published":"2022-01-18T22:15:18Z","modified":"2025-04-22T18:33:08Z","title":"Cross-Site Scripting in Onionshare","vendor":"onionshare","product":"onionshare","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00822,"percentile":0.58204,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/onionshare/onionshare/releases/tag/v2.5","tags":["x_refsource_MISC"]},{"url":"https://github.com/onionshare/onionshare/security/advisories/GHSA-ch22-x2v3-v6vq","tags":["x_refsource_CONFIRM"]}],"priority":{"score":17.7,"factors":[{"name":"EPSS percentile","points":11.64},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"onionshare","affectedVersions":[{"vendor":"onionshare","product":"onionshare","versions":["< 2.5"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2025-04-22T15:45:21.304905Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"onionshare-cli","vulnerableRanges":["<2.5"],"patched":["2.5"],"from":["GHSA-ch22-x2v3-v6vq","PYSEC-2022-41"],"provenance":"source"}],"summary":{"text":"A cross-site scripting flaw exists in OnionShare, the open source Tor-based file sharing and website hosting tool, where the path parameter of a requested URL is not sanitised before being passed to the Qt frontend and rendered as HTML in the server access history display. An attacker who can get a crafted request path to the server, with low privileges and requiring a user to interact with the access history view, can inject content that is rendered in that frontend, affecting confidentiality and integrity while availability is unaffected.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:36:03Z"},"euvd":{"id":"EUVD-2022-0181","exploited":false,"provenance":"source"}}