CVE-2021-3427 json
Deluge Web-UI vulnerable to XSS through a crafted torrent file
published 2022-08-26 4 y ago modified 2026-06-17 4 mo ago also GHSA-5c8p-qhch-qhx6 , PYSEC-2022-256 , EUVD-2022-0075
- cvss
- 6.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 61%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi deluge 2.1.0
- deluge-torrent deluge 2.1.0
- deluge Debian 14, Debian 13 2.1.1-4
debian advisories DEBIAN-CVE-2021-3427
- deluge openSUSE Tumbleweed 2.1.1-3.1
opensuse advisories openSUSE-SU-2024:12322-1
- dev.deluge-torrent.org/ticket/3459 advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-3427 updated cvss 6.1
deluge: XSS in webui via crafted torrent file
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.96% chance of exploitation in the next 30 days, higher than 61% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- dev.deluge-torrent.org https://dev.deluge-torrent.org/ticket/3459 referenced PoC, tagged "exploit" by a source, unverified
- groups.google.com https://groups.google.com/g/deluge-dev/c/e5zh7wT0rEg referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | deluge | <2.1.0 |
2.1.0 |
Affected products
- n/a Deluge-web
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
dev.deluge-torrent.org
/ticket/3459
web, exploit, issue-tracking, patch, vendor-advisory
-
groups.google.com
/g/deluge-dev/c/e5zh7wT0rEg
web, exploit, issue-tracking, mailing-list, third-party-advisory
-
security.gentoo.org
/glsa/202210-07
vendor-advisory, web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-3427
advisory
-
github.com
/advisories/GHSA-5c8p-qhch-qhx6
advisory
-
github.com
/deluge-torrent/deluge
package
-
github.com
/pypa/advisory-database/tree/main/vulns/deluge/PYSEC-2022-256.yaml
web
Sources
- CVE List CVE-2021-3427
- GitHub Advisory GHSA-5c8p-qhch-qhx6
- NVD CVE-2021-3427
- OSV PYSEC-2022-256
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.