webtorrent
Affected
- introduced
0, fixed0.107.6(semver)
Fixed versions
0.107.6
Fix
- Fixed version
0.107.6npm install [email protected]
Advisory
Also known as: CVE-2019-15782
Cross-Site Scripting in webtorrent
Versions of webtorrent prior to 0.107.6 are vulnerable to Cross-Site Scripting. webtorrent servers started with torrent.createServer() lists a torrent's title and files in the index page without sanitization. This allows attackers to execute arbitrary JavaScript in the victim's browser through files with names containing the malicious payload. The issue is mitigated due to the fact that the server only allows fetching data pieces from the torrent.
Recommendation
Upgrade to version 0.107.6 or later.
Medium Basis: The source's own band: MODERATE
0, fixed 0.107.6 (semver)0.107.6
0.107.6npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0