CVE-2022-21690

Cross-Site Scripting in Onionshare

Published Jan 18, 2022 CVSS 3.1 · 8.7 High EPSS < 1% 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. 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.

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-0181 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.
Github GHSA Github GHSA GHSA-ch22-x2v3-v6vq OTF-001: Improper Input Sanitation: The path parameter of the requested URL is not sanitized before being passed to the QT frontend
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00312}

epss

{'score': 0.00329}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Weaknesses

Sources

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