GitHub Advisory Database
GHSA-5c8p-qhch-qhx6
Deluge Web-UI vulnerable to XSS through a crafted torrent file
Details
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 versions |
|---|---|---|
| PyPI | deluge | All versions before 2.1.0 (fixed in 2.1.0) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-3427
- https://dev.deluge-torrent.org/ticket/3459
- https://github.com/advisories/GHSA-5c8p-qhch-qhx6
- https://github.com/deluge-torrent/deluge
- https://github.com/pypa/advisory-database/tree/main/vulns/deluge/PYSEC-2022-256.yaml
- https://groups.google.com/g/deluge-dev/c/e5zh7wT0rEg
- https://security.gentoo.org/glsa/202210-07