CVE-2021-3427
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
Fixed builds are available from Debian, PyPI: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | deluge | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | deluge | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | deluge | Under investigation | UBUNTU-CVE-2021-3427 | |
| Ubuntu 22.04 | deluge | Under investigation | UBUNTU-CVE-2021-3427 | |
| Ubuntu 20.04 | deluge | Fix pending | UBUNTU-CVE-2021-3427 | |
| Ubuntu 18.04 | deluge | Fix pending | UBUNTU-CVE-2021-3427 | |
| Ubuntu 16.04 | deluge | Fix pending | UBUNTU-CVE-2021-3427 | |
| Ubuntu 14.04 | deluge | Fix pending | ||
| Debian 14 | deluge | Fixed | 2.1.1-4 | DEBIAN-CVE-2021-3427 |
| Debian 13 | deluge | Fixed | 2.1.1-4 | DEBIAN-CVE-2021-3427 |
| Debian 12 | deluge | Fix pending | DEBIAN-CVE-2021-3427 | |
| PyPI library | deluge | Fixed | 2.1.0 | PYSEC-2022-256 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Deluge-web: affected: Not-Known
Vendor advisories:
- https://security.gentoo.org/glsa/202210-07 (vendor-advisory)
References
- https://dev.deluge-torrent.org/ticket/3459
- https://groups.google.com/g/deluge-dev/c/e5zh7wT0rEg
- https://security.gentoo.org/glsa/202210-07
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.