CVE-2021-3427Deluge-torrent Deluge
Medium 6.1 No auth needed
Follow: this CVE · Deluge-torrent · Deluge-torrent Deluge We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 1.0% probability of exploitation in 30 days · percentile 61
- Auth required
- No
- Published
- Aug 26, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Deluge.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | deluge |
< 2.1.0 |
2.1.0 |
pip install "deluge>=2.1.0" |
| PyPI | deluge |
< 2.1.0 |
2.1.0 |
pip install "deluge>=2.1.0" |
Per OSV / GitHub Advisories (GHSA-5c8p-qhch-qhx6, PYSEC-2022-256). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| deluge-torrent | deluge | < 2.1.0 |
Official sources
References
Links published by the sources. Open them with care.
- dev.deluge-torrent.org Exploit Issue Tracking Patch
- groups.google.com Exploit Issue Tracking Mailing List
- security.gentoo.org Third Party Advisory