Webtorrent
Monthly
Path traversal in WebTorrent's getFileModtimes function (lib/torrent.js) affects releases up to 2.8.5 and up to 3.0.21, letting a torrent with attacker-controlled per-file path metadata steer a filesystem stat call outside the configured download directory when the host application invokes getFileModtimes with addUID disabled. The exposure is limited to disclosure of modification times and existence of files outside the download root on the Node.js filesystem - the assessed vector (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N) confirms no file content read, write, or code execution - and requires the victim to load the malicious torrent (UI:P). A public PoC reference exists (GitHub issue #3012); it is not verified as working exploit code, there is no CISA KEV listing, and an upstream fix has been proposed in PR #3046. The reporter's issue was closed as 'not planned', and priority is assessed as this_month rather than emergency.
WebTorrent before 0.107.6 allows XSS in the HTTP server via a title or file name. Rated medium severity (CVSS 6.1), this vulnerability is remotely exploitable, no authentication required, low attack complexity. This Cross-Site Scripting (XSS) vulnerability could allow attackers to inject malicious scripts into web pages viewed by other users.
Path traversal in WebTorrent's getFileModtimes function (lib/torrent.js) affects releases up to 2.8.5 and up to 3.0.21, letting a torrent with attacker-controlled per-file path metadata steer a filesystem stat call outside the configured download directory when the host application invokes getFileModtimes with addUID disabled. The exposure is limited to disclosure of modification times and existence of files outside the download root on the Node.js filesystem - the assessed vector (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N) confirms no file content read, write, or code execution - and requires the victim to load the malicious torrent (UI:P). A public PoC reference exists (GitHub issue #3012); it is not verified as working exploit code, there is no CISA KEV listing, and an upstream fix has been proposed in PR #3046. The reporter's issue was closed as 'not planned', and priority is assessed as this_month rather than emergency.
WebTorrent before 0.107.6 allows XSS in the HTTP server via a title or file name. Rated medium severity (CVSS 6.1), this vulnerability is remotely exploitable, no authentication required, low attack complexity. This Cross-Site Scripting (XSS) vulnerability could allow attackers to inject malicious scripts into web pages viewed by other users.