medium6.1
CVE-2021-3427
Deluge Web-UI vulnerable to XSS through a crafted torrent file
Impact
The Deluge Web-UI is vulnerable to cross-site scripting through a crafted torrent file. The the data from torrent files is not properly sanitised as it's interpreted directly as HTML. Someone who supplies the user with a malicious torrent file can execute arbitrary Javascript code in the context of the user's browser session.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | deluge | >= 0, < 2.1.0 | 2.1.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Deluge-Torrent | Deluge | before 2.1.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://dev.deluge-torrent.org/ticket/3459
- https://groups.google.com/g/deluge-dev/c/e5zh7wT0rEg
- https://security.gentoo.org/glsa/202210-07
- https://github.com/advisories/GHSA-5c8p-qhch-qhx6
- https://nvd.nist.gov/vuln/detail/CVE-2021-3427
- https://github.com/pypa/advisory-database/tree/main/vulns/deluge/PYSEC-2022-256.yaml