PyPA Advisory Database
PYSEC-2022-256
Details
The Deluge Web-UI is vulnerable to XSS 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) |